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

Fred <[email protected]> changed:

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

--- Comment #11 from Fred <[email protected]> ---
Hi,
For autoswitch, in my library we use this JavaScript code (thanks to S.D.):
/////////////////
$(document).ready(function ()
{
if (window.location.href.indexOf("cgi-bin/koha/circ/circulation.pl") > -1)
if ($("#circ_impossible ul li").html())
{
 var message = $("#circ_impossible ul li").html(); 
 var terme = message.split(' ');
 var cb= terme[9];
 var n= cb.length;}
if (n==5)
if (check_numerique(cb) == true)
{$("#patronsearch #findborrower").val(cb);
$("#patronsearch #autocsubmit").click();
}
else {return false;}
function check_numerique(input){
            return !isNaN(input);
        }

}
////////////////////

This present 1 or 2 seconds the usual yellow message : Barcode not found

we are satisfied with this solution for 1 year. Is it possible to make the same
timing in this patch ?

Thanks,
Fred

-- 
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