* adjust code for branch.

This commit is contained in:
wangyidong
2015-10-29 15:28:08 +08:00
parent 8381753633
commit 8593f3ce07
21 changed files with 51 additions and 62 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ var currentRoot = <?php echo $module->root;?>;
var currentParent = <?php echo $module->parent;?>;
function getProductModules(productID)
{
$.get(createLink('tree', 'ajaxGetOptionMenu', 'rootID=' + productID + '&viewType=story&rootModuleID=0&returnType=json'), function(data)
$.get(createLink('tree', 'ajaxGetOptionMenu', 'rootID=' + productID + '&viewType=story&branch=0&rootModuleID=0&returnType=json'), function(data)
{
var newOption = '';
for(i in data) newOption += '<option value="' + i + '">' + data[i] + '</option>';