Remove auto-focus on certain input fields
* remove autofocus on input certain input fields if browser is msie * Update sharedialoglinkshareview.js * Update sharedialogview.js Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
49d0507f5d
commit
a9dc3239b3
|
@ -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 New Issue