Merge pull request #4022 from nextcloud/downstream-27105
Remove auto-focus on certain input fields
This commit is contained in:
commit
df4d1f7b78
2 changed files with 8 additions and 4 deletions
|
@ -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();
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue