@@ -, +, @@ localization page - Edit any existing item type and click the "Translate into other languages" link. - If there is not an existing translation, add one. Close the modal window and click the "Translate into other languages" link again to redisplay it. - Confirm that there is a "Delete" link next to your translation which is styled correctly. - Confirm that the behavior of the "Delete" link is correct both when confirming and when canceling. --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/localization.tt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/localization.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/localization.tt @@ -148,7 +148,8 @@ send_update_request( data, this ); }); - $("a.delete").on('click', function(){ + $("a.delete").on('click', function(e){ + e.preventDefault(); if ( confirm(_("Are you sure you want to delete this translation?")) ) { var td = $(this).parent(); var tr = $(td).parent(); @@ -226,7 +227,7 @@ [% t.code %] [% t.lang %] [% t.translation %] - + Delete [% END %] --