https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18834
Lee Jamison <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #64523|0 |1 is obsolete| | --- Comment #16 from Lee Jamison <[email protected]> --- Created attachment 64547 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=64547&action=edit Bug 18834: Remove js function Check from opac-shelves This function only serves to check if the shelf name is not empty. It does not even work since it incorrectly refers to f.addshelf (while it should test #shelfname). We can solve this and improve consistency by doing the same as in the staff template with html5 required. Test plan: [1] Without this patch it was possible to add a list without a name in OPAC (with js error: TypeError: f.addshelf is undefined). [2] With this patch, verify that you cannot do this anymore. Signed-off-by: Marcel de Rooy <[email protected]> Signed-off-by: Lee Jamison <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://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/
