@@ -355,6 +355,13 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
},
api: {
bindevent1: function () {
+ //屏蔽回车键
+ $(window).keydown( function(e) {
+ var key = window.event?e.keyCode:e.which;
+ if(key.toString() == "13"){
+ return false;
+ }
+ });
Form.api.bindevent($("form[role=form]"));
initSubTable: function (index, row, $detail,parent_table) {
@@ -432,6 +432,13 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','editable'], function