@@ -, +, @@ --- .../prog/en/modules/virtualshelves/shelves.tt | 40 +++++++--------------- 1 file changed, 12 insertions(+), 28 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt @@ -155,26 +155,7 @@ function placeHold () { $("#hold_form").submit(); return false; } - /** - * This function checks to make sure a list title is assigned - */ - function Check(f) { - var _alertString=""; - var alertString2; - if($("#shelfname").val() == ""){ - _alertString += "- "+_("You must enter a List Name") + "\n"; - } - - if (_alertString.length==0) { - f.submit(); - } else { - alertString2 = _("Form not submitted because of the following problem(s)"); - alertString2 += "\n------------------------------------------------------------------------------------\n\n"; - alertString2 += _alertString; - alert(alertString2); - } - } function cartList(){ var checkboxes = $("#searchresults").find(":checkbox"); var vshelf = vShelfAdd(checkboxes); @@ -440,14 +421,16 @@ function placeHold () { [% IF ( seflag ) %]