BUG 9619 "Grillas: Problema en las dependencias al eliminar..." SOLVED
- When you delete a row of a grid in any order (not in sequential order) and then add a new row, dependent fields do not work. - Problem resuelo, dependent fields work correctly when you delete any row. * Available from version 2.0.44
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
{if ($form->addRow) }
|
||||
<table class='Record'>
|
||||
<tr><td></td>
|
||||
<td><img id="form[{$form->name}][bullet]" src="/images/bulletButton.gif" /> <a id="form[{$form->name}][addLink]" class="GridLink" href="#" value="Insert" onclick="form_{$form->owner->id}.getElementByName('{$form->name}').addGridRow();return false;">{$form->NewLabel}</a></td>
|
||||
<td><img id="form[{$form->name}][bullet]" src="/images/bulletButton.gif" /> <a id="form[{$form->name}][addLink]" class="GridLink" href="javascript:;" value="Insert" onclick="form_{$form->owner->id}.getElementByName('{$form->name}').addGridRow(); return false;">{$form->NewLabel}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
@@ -37,7 +37,7 @@
|
||||
<td style="white-space:nowrap;">{$field->field}</td>
|
||||
{/foreach}
|
||||
{if $form->deleteRow == '1' }
|
||||
<td align="center"><A class="GridLink" href="#" onclick="form_{$form->owner->id}.getElementByName('{$form->name}').deleteGridRow('[{literal}{$smarty.section.row.index+1}{/literal}]');return false;">{$form->DeleteLabel}</A> </td>
|
||||
<td align="center"><A class="GridLink" href="javascript:;" onclick="form_{$form->owner->id}.getElementByName('{$form->name}').deleteGridRow('[{literal}{$smarty.section.row.index+1}{/literal}]'); return false;">{$form->DeleteLabel}</A> </td>
|
||||
{/if}
|
||||
{if ($form->editRow=='1')}
|
||||
<td>edit"{$form->editRow}"</td>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
{if ($form->addRow) }
|
||||
<table class='Record'>
|
||||
<tr><td></td>
|
||||
<td><img id="form[{$form->name}][bullet]" src="/images/bulletButton.gif" /> <a class="GridLink" href="#" value="Insert" onclick="form_{$form->owner->id}.getElementByName('{$form->name}').addGridRow();return false;">{$form->NewLabel}</a></td>
|
||||
<td><img id="form[{$form->name}][bullet]" src="/images/bulletButton.gif" /> <a class="GridLink" href="javascript:;" value="Insert" onclick="form_{$form->owner->id}.getElementByName('{$form->name}').addGridRow(); return false;">{$form->NewLabel}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
@@ -39,7 +39,7 @@
|
||||
<td style="">{$field->field}</td>
|
||||
{/foreach}
|
||||
{if $form->deleteRow == '1' }
|
||||
<td align="center"><A class="GridLink" href="#" onclick="form_{$form->owner->id}.getElementByName('{$form->name}').deleteGridRow('[{literal}{$smarty.section.row.index+1}{/literal}]');return false;">{$form->DeleteLabel}</A> </td>
|
||||
<td align="center"><A class="GridLink" href="javascript:;" onclick="form_{$form->owner->id}.getElementByName('{$form->name}').deleteGridRow('[{literal}{$smarty.section.row.index+1}{/literal}]'); return false;">{$form->DeleteLabel}</A> </td>
|
||||
{/if}
|
||||
{if ($form->editRow=='1')}
|
||||
<td>edit"{$form->editRow}"</td>
|
||||
|
||||
Reference in New Issue
Block a user