Merge pull request #22249 from owncloud/fix-22245

Save display name and email address on paste operations
This commit is contained in:
Thomas Müller 2016-02-09 23:36:10 +01:00
commit 22c8501ce9
1 changed files with 8 additions and 0 deletions

View File

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