[Koha-bugs] [Bug 18022] Empty barcode causes internal server error

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 23 13:00:21 CET 2017


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

--- Comment #5 from Koha Team Lyon 3 <koha at univ-lyon3.fr> ---
as a temporary workaround, I put this in the intranetuserjs syspref :

$('#mainform').submit(function(event){
    if ( ! $('#barcode').val().length ) {
        event.preventDefault();
        window.location.replace("/cgi-bin/koha/circ/circulation.pl");
    }
});

Olivier Crouzet

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list