Skip to content

Commit 49f740b

Browse files
jancborchardtrullzer
authored andcommitted
Remove auto focus of share input field on dialog open, fix #15261
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
1 parent 4ea822c commit 49f740b

File tree

13 files changed

+5
-9310
lines changed

13 files changed

+5
-9310
lines changed

apps/files_sharing/js/additionalScripts.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

core/js/dist/share_backend.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/js/dist/share_backend.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/js/sharedialogview.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,12 +1053,6 @@
10531053
this._toggleLoading(false);
10541054
if (!this._loadingOnce) {
10551055
this._loadingOnce = true;
1056-
// the first time, focus on the share field after the spinner disappeared
1057-
if (!OC.Util.isIE()) {
1058-
_.defer(function () {
1059-
self.$('.shareWithField').focus();
1060-
});
1061-
}
10621056
}
10631057
},
10641058

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)