@@ -, +, @@ --- .../prog/en/modules/virtualshelves/shelves.tt | 41 +++++++------------- 1 file changed, 13 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 ) %]
-
+
[% IF ( shelves ) %] - Create a new list +
    -
  1. +
  2. + Required +
  3. Owner: [% loggedinusername %]
  4. + Edit list [% shelfname | html %] + [% IF ( showprivateshelves ) %][% END %] - - Edit list [% shelfname | html %] +
      -
    1. +
    2. + Required +
    3. [% IF ( owner ) %][% ownername %][% ELSE %][% loggedinusername %][% END %]
    4. + +
      [% IF ( showprivateshelves ) %] Cancel [% ELSE %] @@ -516,7 +502,6 @@ function placeHold () {
      • A Private list is managed by you and can be seen only by you.
      • A Public list can be seen by everybody, but managed only by you.
      • -
      • The owner of a list is always allowed to add entries, but needs permission to remove.
      --