This commit is contained in:
Rémi Gaillard
2013-07-17 11:13:46 +02:00
parent 25e0390128
commit 67ec90fae9
2 changed files with 12 additions and 0 deletions
@@ -54,4 +54,9 @@
{l s='It will be displayed only for the following groups:'}
<ul id="summary_groups"></ul>
</div>
<div class="clear">&nbsp;</div>
<div>
{l s='It will be displayed only for the following shops:'}
<ul id="summary_shops"></ul>
</div>
</fieldset>
+7
View File
@@ -140,6 +140,13 @@ function displaySummary()
if ($(this).attr('checked'))
$('#summary_groups').html($('#summary_groups').html() + '<li><strong>' + $(this).parent().next().next().text() + '</strong></li>');
});
// shop restrictions
$('#summary_shops').html('');
$('.input_shop').each(function(){
if ($(this).attr('checked'))
$('#summary_shops').html($('#summary_shops').html() + '<li><strong>' + $(this).parent().text() + '</strong></li>');
});
}
function validateSteps(step_number)