This commit is contained in:
wangyidong
2017-12-01 09:43:56 +08:00
parent 66e5d7f47a
commit ef4e8a2cbd
2 changed files with 2 additions and 2 deletions
-2
View File
@@ -33,5 +33,3 @@ $(function()
ajustFilebox();
$(window).resize(ajustFilebox);
});
+2
View File
@@ -19,12 +19,14 @@ function loadBranch()
function loadProductBranches(productID)
{
$('#branch').remove();
$('#branch_chosen').remove();
$.get(createLink('branch', 'ajaxGetBranches', "productID=" + productID), function(data)
{
if(data)
{
$('#product').closest('.input-group').append(data);
$('#branch').css('width', config.currentMethod == 'create' ? '120px' : '65px');
$('#branch').chosen(defaultChosenOptions);
}
})
}