check javascript bugs

This commit is contained in:
yubaolee 2016-05-26 14:58:18 +08:00
parent aa6b31d474
commit b3c6df2931

View File

@ -119,7 +119,7 @@ var ztree = function () {
var url;
var type = $("#moduleType");
if (type == "UserElement") {
if (type.val() == "UserElement") {
url = '/ModuleManager/LoadForUser';
} else {
url = '/ModuleManager/LoadForRole';