//small fix
This commit is contained in:
+2
-2
@@ -24,12 +24,12 @@
|
|||||||
<td></td>
|
<td></td>
|
||||||
{foreach from=$ranges key=r item=range}
|
{foreach from=$ranges key=r item=range}
|
||||||
<td class="center border_top border_bottom {if $range.id_range != -1} validated {/if}" >
|
<td class="center border_top border_bottom {if $range.id_range != -1} validated {/if}" >
|
||||||
<input type="text" {if isset($form_id) && !$form_id} disabled="disabled"{/if} {if $range.id_range == -1} style="display:none"{/if} /><span id="currency_sign" style="display:none"> {$currency_sign}</span>
|
<input type="text" {if isset($form_id) && !$form_id} disabled="disabled"{/if} {if $range.id_range == -1} style="display:none"{/if} /><span class="currency_sign"> {$currency_sign}</span>
|
||||||
{if $range.id_range == -1} <button class="button">{l s="Validate"}</button> {/if}
|
{if $range.id_range == -1} <button class="button">{l s="Validate"}</button> {/if}
|
||||||
</td>
|
</td>
|
||||||
{foreachelse}
|
{foreachelse}
|
||||||
<td class="center border_top border_bottom">
|
<td class="center border_top border_bottom">
|
||||||
<input style="display:none" type="text" /><span id="currency_sign" style="display:none"> {$currency_sign}</span>
|
<input style="display:none" type="text" /><span class="currency_sign" style="display:none"> {$currency_sign}</span>
|
||||||
<button class="button">{l s="Validate"}</button>
|
<button class="button">{l s="Validate"}</button>
|
||||||
</td>
|
</td>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
|
|||||||
@@ -246,7 +246,7 @@ function bind_inputs()
|
|||||||
if (validateRange(index))
|
if (validateRange(index))
|
||||||
{
|
{
|
||||||
enableRange(index);
|
enableRange(index);
|
||||||
$('#currency_sign').show();
|
$('.currency_sign').show();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
disableRange(index);
|
disableRange(index);
|
||||||
@@ -330,7 +330,7 @@ function is_freeClick(elt)
|
|||||||
|
|
||||||
function hideFees()
|
function hideFees()
|
||||||
{
|
{
|
||||||
$('tr.fees_all td, tr.fees td').each( function () {
|
$('tr.fees td').each( function () {
|
||||||
if ($(this).index() >= 2)
|
if ($(this).index() >= 2)
|
||||||
{
|
{
|
||||||
$(this).find('input:text, button').val('').attr('disabled', 'disabled').css('background-color', '#999999').css('border-color', '#999999');
|
$(this).find('input:text, button').val('').attr('disabled', 'disabled').css('background-color', '#999999').css('border-color', '#999999');
|
||||||
@@ -341,7 +341,7 @@ function hideFees()
|
|||||||
|
|
||||||
function showFees()
|
function showFees()
|
||||||
{
|
{
|
||||||
$('tr.fees_all td, tr.fees td').each( function () {
|
$('tr.fees td').each( function () {
|
||||||
if ($(this).index() >= 2)
|
if ($(this).index() >= 2)
|
||||||
{
|
{
|
||||||
//enable only if zone is active
|
//enable only if zone is active
|
||||||
|
|||||||
Reference in New Issue
Block a user