mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2026-04-09 18:41:28 +08:00
修改支持iframe,这样后台多navtab时,就不用为每个dom定义ID了!!!!
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
onCheck: zTreeCheck
|
||||
}
|
||||
};
|
||||
$.getJSON('ModuleManager/LoadForTree', function (json) {
|
||||
$.getJSON('/ModuleManager/LoadForTree', function (json) {
|
||||
var zTreeObj = $.fn.zTree.init($('#lookupTree'), setting, json);
|
||||
zTreeObj.expandAll(true);
|
||||
});
|
||||
@@ -81,7 +81,7 @@
|
||||
onCheck: zTreeCheck
|
||||
}
|
||||
};
|
||||
$.post('ModuleManager/LoadForRole', { roleId: $('#roleId').val() },
|
||||
$.post('/ModuleManager/LoadForRole', { roleId: $('#roleId').val() },
|
||||
function (json) {
|
||||
var zTreeObj = $.fn.zTree.init($('#selected'), setting, eval(json));
|
||||
zTreeObj.expandAll(true);
|
||||
@@ -89,7 +89,7 @@
|
||||
}
|
||||
|
||||
function save() {
|
||||
$.post('ModuleManager/AssignModuleForRole', { roleId: $('#roleId').val(), moduleIds: moduleIds },
|
||||
$.post('/ModuleManager/AssignModuleForRole', { roleId: $('#roleId').val(), moduleIds: moduleIds },
|
||||
function (json) {
|
||||
var rel = $.parseJSON(json);
|
||||
if (rel.statusCode == "200") {
|
||||
|
||||
Reference in New Issue
Block a user