mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-21 02:57:54 +08:00
紧急修复由于BJUI的JS函数名不能相同造成按钮事件混乱的问题,请删除数据库中的表记录,重新用脚本初始化一次数据
This commit is contained in:
@@ -125,7 +125,7 @@
|
||||
onCheck: zTreeCheck
|
||||
}
|
||||
};
|
||||
$.getJSON('ModuleManager/LoadForTree', function (json) {
|
||||
$.getJSON('ModuleManager/LoadModuleWithRoot', function (json) {
|
||||
var zTreeObj = $.fn.zTree.init($('#j_select_tree1'), setting, json);
|
||||
zTreeObj.expandAll(true);
|
||||
});
|
||||
|
@@ -120,14 +120,14 @@
|
||||
},
|
||||
callback: {onClick: zTreeOnClick}
|
||||
};
|
||||
$.getJSON('ModuleManager/LoadForTree', function (json) {
|
||||
$.getJSON('ModuleManager/LoadModuleWithRoot', function (json) {
|
||||
var zTreeObj = $.fn.zTree.init($('#@_treeId'), setting, json);
|
||||
zTreeObj.expandAll(true);
|
||||
});
|
||||
}
|
||||
|
||||
//删除
|
||||
function del() {
|
||||
function delModule() {
|
||||
var selected = getSelected('#@_gridId',2);
|
||||
if (selected == null) return;
|
||||
|
||||
@@ -150,7 +150,7 @@
|
||||
url: '/ModuleManager/Add?id=' + selected,
|
||||
title: '编辑',
|
||||
onClose:function() {
|
||||
refreshGrid();
|
||||
refreshModuleGrid();
|
||||
}
|
||||
});
|
||||
|
||||
@@ -172,7 +172,7 @@
|
||||
|
||||
}
|
||||
|
||||
function refreshGrid() {
|
||||
function refreshModuleGrid() {
|
||||
$('#@_gridId').datagrid('refresh');
|
||||
// loadDataGrid();
|
||||
}
|
||||
|
Reference in New Issue
Block a user