[Koha-bugs] [Bug 10871] Confirmation message for deleting news entries is not translatable

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Sep 11 16:56:10 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10871

Owen Leonard <oleonard at myacpl.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA

--- Comment #2 from Owen Leonard <oleonard at myacpl.org> ---
This doesn't work for me, and I think we've seen this before. If you have the
_() function inside an onclick attribute it doesn't work. One solution is to
define a variable to pass to the function. Example in virtualshelves/shelves.tt
(line 618):

<input type="submit" class="deleteshelf" onclick="return
confirmDelete(MSG_CONFIRM_DELETE_LIST);" value="Delete" />

The other solution would be to move everything into a <script> block and define
the onsubmit behavior there.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list