https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5697

--- Comment #21 from Jonathan Druart <[email protected]> 
---
Created attachment 117988
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=117988&action=edit
Bug 5697: Consolidate nodes construction and fix translation issue

The way the buttons were created was not nice as it was a full HTML node
built with a JS string, on a single line.
I first tried to split the line and then realized but could put in a
function and reuse. Then noticed that the button's text was not
translatable.

I ended up with this patch. I don't know if it's more readable, but at
least it seems a bit more robust and maintainable in the long term.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the QA Contact for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to