释放焦点,防止打开后按回车反复弹出(I5AA4V)
parent
e932a7ead1
commit
5c5961f1b4
|
@ -883,6 +883,9 @@ var table = {
|
||||||
yes: callback,
|
yes: callback,
|
||||||
cancel: function(index) {
|
cancel: function(index) {
|
||||||
return true;
|
return true;
|
||||||
|
},
|
||||||
|
success: function () {
|
||||||
|
$(':focus').blur();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
@ -929,6 +932,9 @@ var table = {
|
||||||
yes: options.yes,
|
yes: options.yes,
|
||||||
cancel: function () {
|
cancel: function () {
|
||||||
return true;
|
return true;
|
||||||
|
},
|
||||||
|
success: function () {
|
||||||
|
$(':focus').blur();
|
||||||
}
|
}
|
||||||
}, btnCallback));
|
}, btnCallback));
|
||||||
if ($.common.isNotEmpty(options.full) && options.full === true) {
|
if ($.common.isNotEmpty(options.full) && options.full === true) {
|
||||||
|
@ -972,6 +978,9 @@ var table = {
|
||||||
},
|
},
|
||||||
cancel: function(index) {
|
cancel: function(index) {
|
||||||
return true;
|
return true;
|
||||||
|
},
|
||||||
|
success: function () {
|
||||||
|
$(':focus').blur();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
top.layer.full(index);
|
top.layer.full(index);
|
||||||
|
|
Loading…
Reference in New Issue