修改菜单问题
This commit is contained in:
@@ -48,16 +48,17 @@
|
||||
}
|
||||
}
|
||||
//cnodes = cnodes.substring(0, cnodes.length - 1);
|
||||
pnodes = pnodes.substring(0, pnodes.length - 1);
|
||||
// pnodes = pnodes.substring(0, pnodes.length - 1);
|
||||
|
||||
if (ctype == 'child') {
|
||||
return cnodes;
|
||||
}
|
||||
else {
|
||||
return pnodes
|
||||
else if("all"){
|
||||
return cnodes+pnodes;
|
||||
}else{
|
||||
return pnodes;
|
||||
}
|
||||
;
|
||||
};
|
||||
}
|
||||
|
||||
$(function () {
|
||||
|
||||
@@ -84,7 +85,7 @@
|
||||
info: JSON.stringify({
|
||||
type: type,
|
||||
keyid: url_id,
|
||||
value: GetNode('child')
|
||||
value: GetNode('all')
|
||||
})
|
||||
},
|
||||
dataType: "json",
|
||||
|
||||
Reference in New Issue
Block a user