https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38523
--- Comment #4 from David Cook <[email protected]> --- Now this is easy to avoid by using Javascript like document.createElement() to create the HTML Element Javascript object. Then to set the placeholder we can just do this: custom_name.placeholder = __("key"); By using the browser web APIs and avoiding Javascript string manipulation, we set the placeholder more securely and more robustly. -- We also don't even need jQuery to do this. Javascript has advanced so much that this can easily be done in regular Javascript, which is easier to maintain in the long-run as well. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ 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/
