Fix change event
This commit is contained in:
@@ -149,6 +149,8 @@ class WSF_AUTOCOMPLETE_CONTROL extends WSF_INPUT_CONTROL
|
|||||||
})
|
})
|
||||||
@$el.on 'typeahead:closed',()->
|
@$el.on 'typeahead:closed',()->
|
||||||
self.change()
|
self.change()
|
||||||
|
@$el.on 'typeahead:blured',()->
|
||||||
|
self.change()
|
||||||
|
|
||||||
class WSF_CHECKBOX_CONTROL extends WSF_CONTROL
|
class WSF_CHECKBOX_CONTROL extends WSF_CONTROL
|
||||||
attach_events: ()->
|
attach_events: ()->
|
||||||
|
|||||||
@@ -283,7 +283,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return this.$el.on('typeahead:closed', function() {
|
this.$el.on('typeahead:closed', function() {
|
||||||
|
return self.change();
|
||||||
|
});
|
||||||
|
return this.$el.on('typeahead:blured', function() {
|
||||||
return self.change();
|
return self.change();
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user