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

Marc Véron <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Marc Véron <[email protected]> ---
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.
_______________________________________________
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/

Reply via email to