Bugzilla – Attachment 2555 Details for
Bug 5156
JavaScript error when adding list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix
0001-Fix-for-Bug-5156-JavaScript-error-when-adding-list.patch (text/plain), 1.71 KB, created by
Owen Leonard
on 2010-08-19 14:54:12 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2010-08-19 14:54:12 UTC
Size:
1.71 KB
patch
obsolete
>From ef24f04e5251893192a5949e8da1a2752836bba2 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 19 Aug 2010 10:51:20 -0400 >Subject: [PATCH] Fix for Bug 5156 - JavaScript error when adding list > >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 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 5156
:
2555
|
3212
|
3728