From: Frédérick Capovilla <[email protected]> The mandatory fields popup didn't appear when some mandatory fields weren't filled on IE8. Replacing the "focus" with its JQuery equivalent corrected the problem.
[EDIT by Owen Leonard] Removed commented line Signed-off-by: Owen Leonard <[email protected]> --- .../prog/en/modules/cataloguing/addbiblio.tt | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt index fa0c5e8..89f8b20 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt @@ -161,7 +161,8 @@ function AreMandatoriesNotOk(){ if( tabflag[tag+subfield+tagnumber][0] != 1 && (document.getElementById(mandatories[i]) != null && ! document.getElementById(mandatories[i]).value || document.getElementById(mandatories[i]) == null)){ tabflag[tag+subfield+tagnumber][0] = 0 + tabflag[tag+subfield+tagnumber] ; document.getElementById(mandatories[i]).setAttribute('class','subfield_not_filled'); - document.getElementById(mandatories[i]).focus(); + //document.getElementById(mandatories[i]).focus(); + $('#' + mandatories[i]).focus(); tabflag[tag+subfield+tagnumber][1]=label[i]; tabflag[tag+subfield+tagnumber][2]=tab[i]; } else { -- 1.7.3 _______________________________________________ Koha-patches mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
