Fix change event

This commit is contained in:
YNH Webdev
2013-09-14 22:45:58 +02:00
parent 0f8444a585
commit 15dd993b95
2 changed files with 6 additions and 1 deletions

View File

@@ -149,6 +149,8 @@ class WSF_AUTOCOMPLETE_CONTROL extends WSF_INPUT_CONTROL
})
@$el.on 'typeahead:closed',()->
self.change()
@$el.on 'typeahead:blured',()->
self.change()
class WSF_CHECKBOX_CONTROL extends WSF_CONTROL
attach_events: ()->

View File

@@ -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();
});
};