Remove auto focus of share input field on dialog open, fix #15261 (#15960)

Remove auto focus of share input field on dialog open, fix #15261
This commit is contained in:
John Molakvoæ 2019-06-19 11:09:06 +02:00 committed by GitHub
commit 94e4ce38cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 8 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1038,12 +1038,6 @@
this._toggleLoading(false);
if (!this._loadingOnce) {
this._loadingOnce = true;
// the first time, focus on the share field after the spinner disappeared
if (!OC.Util.isIE()) {
_.defer(function () {
self.$('.shareWithField').focus();
});
}
}
},