JavaScript referenced nonexistent form name
---
 .../prog/en/modules/virtualshelves/shelves.tmpl    |    2 +-
 .../opac-tmpl/prog/en/modules/opac-shelves.tmpl    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tmpl 
b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tmpl
index 62ee69a..547668a 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tmpl
@@ -100,7 +100,7 @@ function placeHold () {
                }
 
                if (_alertString.length==0) {
-                       document.Aform.submit();
+            document.f.submit();
                } else {
                        alertString2 = _("Form not submitted because of the 
following problem(s)");
                        alertString2 += 
"\n------------------------------------------------------------------------------------\n\n";
diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl 
b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl
index bb2078a..b79ddab 100644
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl
+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl
@@ -122,7 +122,7 @@ $(function() {
                }
 
                if (_alertString.length==0) {
-                       document.Aform.submit();
+                       document.f.submit();
                } else {
                        alertString2 = _("Form not submitted because of the 
following problem(s)");
                        alertString2 += 
"\n------------------------------------------------------------------------------------\n\n";
-- 
1.7.0.4

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches

Reply via email to