//added checkbox for all zones

This commit is contained in:
Vincent Augagneur
2013-08-09 10:44:20 +02:00
parent 73f40a6cc6
commit 13be8db639
2 changed files with 8 additions and 1 deletions
@@ -81,7 +81,6 @@ class AdminCarrierWizardControllerCore extends AdminController
$multistore_step = array(
array(
'title' => $this->l('MultiStore'),
'desc' => $this->l('MultiStore'),
)
);
array_splice($this->wizard_steps['steps'], 1, 0, $multistore_step);
+8
View File
@@ -587,4 +587,12 @@ function getCorrectRangePosistion(current_inf, current_sup)
new_position = index;
});
return new_position;
}
function checkAllZones(elt)
{
if($(elt).is(':checked'))
$('.input_zone').attr('checked', 'checked');
else
$('.input_zone').removeAttr('checked');
}