Skip to content

Commit

Permalink
Remove auto focus of share input field on dialog open, fix nextcloud#…
Browse files Browse the repository at this point in the history
…15261 (nextcloud#15960)

Remove auto focus of share input field on dialog open, fix nextcloud#15261
  • Loading branch information
skjnldsv authored Jun 19, 2019
2 parents 21d8363 + b855d08 commit 94e4ce3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion core/js/dist/share_backend.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core/js/dist/share_backend.js.map

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions core/js/sharedialogview.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
}
}
},

Expand Down

0 comments on commit 94e4ce3

Please sign in to comment.