[*] BO : fix update javascript because radio button shared stocks deleted, fix error in automatic replacement
This commit is contained in:
1 parent
59b1b86e09
commit
2d3ff4abfc
2 files changed
+3
-3
No files matched your search
@@ -42,9 +42,9 @@
|
||||
displayFlags(languages, id_language, {$allowEmployeeFormLang});
|
||||
|
||||
$('input[name=share_order]').attr('disabled', true);
|
||||
$('input[name=share_customer], input[name=share_stock]').click(function()
|
||||
$('input[name=share_customer]').click(function()
|
||||
{
|
||||
var disabled = ($('input[name=share_customer]').attr('checked') && $('input[name=share_stock]').attr('checked')) ? false : true;
|
||||
var disabled = ($('input[name=share_customer]').attr('checked')) ? false : true;
|
||||
$('input[name=share_order]').attr('disabled', disabled);
|
||||
if (disabled)
|
||||
$('#share_order_off').attr('checked', true);
|
||||
|
||||
@@ -150,7 +150,7 @@ class AdminGroupShopControllerCore extends AdminController
|
||||
'defaultGroup' => Shop::getInstance(Configuration::get('PS_SHOP_DEFAULT'))->getGroupID()
|
||||
));
|
||||
|
||||
return parent::initForm();
|
||||
$this->content .= parent::initForm()
|
||||
|
||||
$import_data = array(
|
||||
'attribute_group' => $this->l('Attribute groups'),
|
||||
|
||||
Reference in new issue
Block a user