// Fix new combination form submit
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12425 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -369,5 +369,10 @@ function openCloseLayer(whichLayer)
|
||||
}
|
||||
|
||||
$(document).ready(function(){
|
||||
$('#product_form').submit(function(){attr_selectall();console.log('couou');});
|
||||
$('#product_form').submit(function(){
|
||||
attr_selectall();
|
||||
// If the new combination form is hidden, remove it so that empty fields are not submitted
|
||||
if ($('#add_new_combination').is(':hidden'))
|
||||
$('#add_new_combination').remove();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user