Save display name and email address on paste operations - fixes #22245

remotes/origin/users-ajaxloadgroups
Thomas Müller 2016-02-09 16:18:47 +07:00
parent 4659bf9b4a
commit a3eaefa530
1 changed files with 8 additions and 0 deletions

@ -31,6 +31,14 @@ jQuery.fn.keyUpDelayedOrEnter = function (callback, allowEmptyValue) {
cb();
}
});
this.bind('paste', null, function (e) {
if(!e.keyCode){
if (allowEmptyValue || that.val() !== '') {
cb();
}
}
});
};