diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt index 12a06658d0..b43202032a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt @@ -95,7 +95,7 @@ function placeHold () { var _alertString=""; var alertString2; - if(f.addshelf.value.length ==0){ + if($("#shelfname").val() == ""){ _alertString += _("- You must enter a List Name") + "\n"; } @@ -349,7 +349,7 @@ function placeHold () {