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

Koha Team Lyon 3 <[email protected]> changed:

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

--- Comment #1 from Koha Team Lyon 3 <[email protected]> ---
Same observation at Lyon3 : the problem comes from what Paul Poulain pointed
out in last comment of bug 3264. (But a recent test in Chrome got the same
wrong result as in Firefox).
As a work around I put the following function in opacuserjs syspref but I guess
it would be better to find a more orthodox way :

$(document).ready(function(){
$("input[name='do']").click(function(){
    $("input[name='q']").each(function(i){
        if (!$(this).val()){
            $("select[name='idx']").eq(i).append('<option value=""
selected="selected"></option>'); 
        }
    }); 
});
});

and in intranetuserjs :

$(document).ready(function() {
$("#submit1,#submit2").click(function(){
    $("input[name='q']").each(function(i){
        if (!$(this).val()){
            $("select[name='idx']").eq(i).append('<option value=""
selected="selected"></option>'); 
        }
    }); 
});
});

Olivier Crouzet

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