Pre Merge pull request !122 from lnrCoder/master
This commit is contained in:
commit
3d872f7e51
|
|
@ -1680,3 +1680,15 @@ modal_status = {
|
|||
FAIL: "error",
|
||||
WARNING: "warning"
|
||||
};
|
||||
|
||||
document.onkeydown = function (event) {
|
||||
var e = e || window.event;
|
||||
if (e.keyCode === 13) {
|
||||
var hasTable = document.getElementById("bootstrap-table");
|
||||
if (hasTable == null) {
|
||||
return true;
|
||||
}
|
||||
$.table.search();
|
||||
return false;
|
||||
}
|
||||
};
|
||||
Loading…
Reference in New Issue