[Bug 3534] Patron quick add form
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3534 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |veron@veron.ch --- Comment #3 from Marc Véron <veron@veron.ch> --- There was a blog entry related to this bug using jQuery for a Patron quick add form. As far I remember it was declared as proof of concept. The link was: http://www.myacpl.org/koha/category/koha/customizations/ (Link not valid as of today) I tested the jQuery code in early 2012 and re-tested it today with current master by putting it into intranetuserjs system preference. It is not really a solution for this enhancement request, but it still works nice. That's why I put it here. $(document).ready(function(){ var list = "<fieldset class=\"rows\"><legend>Quick Add<ol>"; $("label.required").each(function(){ item = $(this).parent().html() item = "<li>"+item+"</li>"; list += item; }); list += "</ol></fieldset><fieldset class=\"action\"><input type=\"submit\" value=\"Save\" onclick=\"return check_form_borrowers();\" name=\"save\"/><a href=\"/cgi-bin/koha/members/member.pl\" class=\"cancel\">Cancel</a></fieldset>"; $("#entryform").prepend(list); }); -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org