* Code for task #44589.

This commit is contained in:
wangyidong
2024-01-23 17:01:37 +08:00
parent ca59d73272
commit a830dc0750
+3 -1
View File
@@ -81,6 +81,8 @@ function ajaxLoadModules(productID, branchID, viewType = '', currentModuleID = 0
var link = $.createLink('tree', 'ajaxGetOptionMenu', 'productID=' + productID + '&viewtype=' + viewType + '&branch=' + branchID + '&rootModuleID=0&returnType=html&fieldID=&extra=excludeModuleID=' + currentModuleID + ',noMainBranch,nodeleted,excludeRelated');
$.getJSON(link, function(data)
{
$('[name=parent]').zui('picker').render({items: data.items});
$parent = $('[name=parent]').zui('picker');
$parent.render({items: data.items});
$parent.$.setValue('');
});
}