* Code for task #44589.
This commit is contained in:
@@ -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('');
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user