mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-18 07:52:21 +01:00
Don't trigger unnecessary change events.
This commit is contained in:
parent
994934a0e3
commit
04b7f3f688
@ -31,7 +31,9 @@
|
||||
} else {
|
||||
self.element.val(tmp);
|
||||
}
|
||||
self.element.trigger('change'); // Changes wasn't saved when only using the dropdown.
|
||||
if(self.element.val().trim() != '') {
|
||||
self.element.trigger('change'); // Changes wasn't saved when only using the dropdown.
|
||||
}
|
||||
});
|
||||
this.element.bind( "keydown", function( event ) {
|
||||
if ( event.keyCode === $.ui.keyCode.TAB &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user