diff options
author | nikrou <nikrou@piwigo.org> | 2009-03-21 14:08:20 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2009-03-21 14:08:20 +0000 |
commit | b7fdb8b4b173bda497cf08932ec4c984e663fe2a (patch) | |
tree | 772b1d9486e512b73f1d7b19052ad6cc31add638 | |
parent | 4c3b1face679d1ceaa0f459b85fdd5f29305373e (diff) |
bug fix: In revision 3215 removing id break confirm javascript function
git-svn-id: http://piwigo.org/svn/trunk@3218 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/template/goto/group_list.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/template/goto/group_list.tpl b/admin/template/goto/group_list.tpl index 9b56dda5b..ebc83aed6 100644 --- a/admin/template/goto/group_list.tpl +++ b/admin/template/goto/group_list.tpl @@ -32,9 +32,9 @@ <td style="text-align:center;"> <a href="{$group.U_PERM}"> <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/permissions.png" class="button" style="border:none" alt="{'permissions'|@translate}" title="{'permissions'|@translate}"></a> - <a href="{$group.U_DELETE}" onclick="return confirm( document.getElementById('btn_delete').title + '\n\n' + '{'Are you sure?'|@translate|@escape:'javascript'}');"> + <a href="{$group.U_DELETE}" onclick="return confirm('{'delete'|@translate|@escape:'javascript'}' + '\n\n' + '{'Are you sure?'|@translate|@escape:'javascript'}');"> <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/delete.png" class="button" style="border:none" alt="{'delete'|@translate}" title="{'delete'|@translate}" {$TAG_INPUT_ENABLED}></a> - <a href="{$group.U_ISDEFAULT}" onclick="return confirm( document.getElementById('btn_toggle_is_default_group').title + '\n\n' + '{'Are you sure?'|@translate|@escape:'javascript'}');"> + <a href="{$group.U_ISDEFAULT}" onclick="return confirm('{'toggle_is_default_group'|@translate|@escape:'javascript'}' +'\n\n' + '{'Are you sure?'|@translate|@escape:'javascript'}');"> <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/toggle_is_default_group.png" class="button" style="border:none" alt="{'toggle_is_default_group'|@translate}" title="{'toggle_is_default_group'|@translate}" {$TAG_INPUT_ENABLED}></a> </td> </tr> |