From 1b174eaef5022fb5d673ae55ae206acfd0bfce8c Mon Sep 17 00:00:00 2001 From: Joe Atzberger Date: Wed, 22 Apr 2009 16:16:56 -0500 Subject: [PATCH] Bug 3128: IE7 tweak Again, jquery has the answer, mainly because it fails cleanly and quietly on NULL/undef elements. Signed-off-by: Galen Charlton Signed-off-by: Henri-Damien LAURENT --- .../en/modules/authorities/authorities.tmpl | 26 ++++++++----------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tmpl index c27a01fd34..57af9dc081 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tmpl @@ -35,27 +35,25 @@ */ function AreMandatoriesNotOk(){ var mandatories = new Array(); - var tab = new Array(); + var tab = new Array(); var label = new Array(); - var flag=0; mandatories.push(""); tab.push(""); label.push(""); - var StrAlert = _("Can't save this record because the following field aren't filled :\n\n"); + var StrAlert = ""; for(var i=0,len=mandatories.length; i