Skip to content
Snippets Groups Projects
Commit df4d1f7b authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by GitHub
Browse files

Merge pull request #4022 from nextcloud/downstream-27105

Remove auto-focus on certain input fields
parents 34632de1 a9dc3239
No related branches found
No related tags found
No related merge requests found
......@@ -259,7 +259,9 @@
password: ''
});
} else {
this.$el.find('.linkPassText').focus();
if (!OC.Util.isIE()) {
this.$el.find('.linkPassText').focus();
}
}
},
......
......@@ -397,9 +397,11 @@
if (!this._loadingOnce) {
this._loadingOnce = true;
// the first time, focus on the share field after the spinner disappeared
_.defer(function() {
self.$('.shareWithField').focus();
});
if (!OC.Util.isIE()) {
_.defer(function () {
self.$('.shareWithField').focus();
});
}
}
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment