[*] BO : fix update javascript because radio button shared stocks deleted, fix error in automatic replacement
This commit is contained in:
@@ -42,9 +42,9 @@
|
|||||||
displayFlags(languages, id_language, {$allowEmployeeFormLang});
|
displayFlags(languages, id_language, {$allowEmployeeFormLang});
|
||||||
|
|
||||||
$('input[name=share_order]').attr('disabled', true);
|
$('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);
|
$('input[name=share_order]').attr('disabled', disabled);
|
||||||
if (disabled)
|
if (disabled)
|
||||||
$('#share_order_off').attr('checked', true);
|
$('#share_order_off').attr('checked', true);
|
||||||
|
|||||||
@@ -150,7 +150,7 @@ class AdminGroupShopControllerCore extends AdminController
|
|||||||
'defaultGroup' => Shop::getInstance(Configuration::get('PS_SHOP_DEFAULT'))->getGroupID()
|
'defaultGroup' => Shop::getInstance(Configuration::get('PS_SHOP_DEFAULT'))->getGroupID()
|
||||||
));
|
));
|
||||||
|
|
||||||
return parent::initForm();
|
$this->content .= parent::initForm()
|
||||||
|
|
||||||
$import_data = array(
|
$import_data = array(
|
||||||
'attribute_group' => $this->l('Attribute groups'),
|
'attribute_group' => $this->l('Attribute groups'),
|
||||||
|
|||||||
Reference in New Issue
Block a user