BUG 6757 Request for IDs to Add Link into Grids solved.
- html ids have been added to template - function deleteGridRow has an optional parameter to ask or not about deleting confirmation. - improve in event ondeleterow, now it returns last row deleted.
This commit is contained in:
@@ -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 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>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user