// same
This commit is contained in:
@@ -54,4 +54,9 @@
|
|||||||
{l s='It will be displayed only for the following groups:'}
|
{l s='It will be displayed only for the following groups:'}
|
||||||
<ul id="summary_groups"></ul>
|
<ul id="summary_groups"></ul>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="clear"> </div>
|
||||||
|
<div>
|
||||||
|
{l s='It will be displayed only for the following shops:'}
|
||||||
|
<ul id="summary_shops"></ul>
|
||||||
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|||||||
@@ -140,6 +140,13 @@ function displaySummary()
|
|||||||
if ($(this).attr('checked'))
|
if ($(this).attr('checked'))
|
||||||
$('#summary_groups').html($('#summary_groups').html() + '<li><strong>' + $(this).parent().next().next().text() + '</strong></li>');
|
$('#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)
|
function validateSteps(step_number)
|
||||||
|
|||||||
Reference in New Issue
Block a user