mirror of https://gitee.com/y_project/RuoYi.git
修复EMAIL类型回退键被禁止问题
parent
d7ed5a1f73
commit
a5573315a1
|
@ -46,10 +46,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!document.currentScript) {
|
if (!document.currentScript) {
|
||||||
document.currentScript = function() {
|
document.currentScript = function() {
|
||||||
var scripts = document.getElementsByTagName('script');
|
var scripts = document.getElementsByTagName('script');
|
||||||
return scripts[scripts.length - 1];
|
return scripts[scripts.length - 1];
|
||||||
}();
|
}();
|
||||||
}
|
}
|
||||||
|
|
||||||
var $h, FileInput, getLoadingUrl = function () {
|
var $h, FileInput, getLoadingUrl = function () {
|
||||||
|
|
|
@ -511,7 +511,7 @@ window.onload = function() {
|
||||||
return _stopIt(event);
|
return _stopIt(event);
|
||||||
}
|
}
|
||||||
var type_e = elem.type.toUpperCase();
|
var type_e = elem.type.toUpperCase();
|
||||||
if (name == 'INPUT' && (type_e != 'TEXT' && type_e != 'TEXTAREA' && type_e != 'PASSWORD' && type_e != 'FILE' && type_e != 'SEARCH' && type_e != 'NUMBER')) {
|
if (name == 'INPUT' && (type_e != 'TEXT' && type_e != 'TEXTAREA' && type_e != 'PASSWORD' && type_e != 'FILE' && type_e != 'SEARCH' && type_e != 'NUMBER' && type_e != 'EMAIL')) {
|
||||||
return _stopIt(event);
|
return _stopIt(event);
|
||||||
}
|
}
|
||||||
if (name == 'INPUT' && (elem.readOnly == true || elem.disabled == true)) {
|
if (name == 'INPUT' && (elem.readOnly == true || elem.disabled == true)) {
|
||||||
|
|
Loading…
Reference in New Issue