* Fallback code for bug#29896.
This commit is contained in:
@@ -160,10 +160,8 @@ function setParentProgram(parentProgram)
|
||||
var selectedProduct = $(this).find('[name^=products]').val();
|
||||
var selectedBranch = $(this).find('[name^=branch]').val();
|
||||
var selectedPlan = $('#plan' + index ).find('[name^=plans]').val();
|
||||
var newProductHtml = $(this).find('span.input-group-addon');
|
||||
|
||||
$(this).html(productSelectHtml);
|
||||
$(this).append(newProductHtml);
|
||||
$(this).find('[name^=products]').attr('name', 'products[' + index + ']').attr('id', 'products' + index).attr('data-branch', selectedBranch).attr('data-plan', selectedPlan);
|
||||
$(this).find('[name^=products]').val(selectedProduct).chosen().change();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user