Bugzilla – Attachment 11524 Details for
Bug 8495
Javascript error when creating a new order
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8495: Fix JS error when creating a new order
Bug-8495-Fix-JS-error-when-creating-a-new-order.patch (text/plain), 1.22 KB, created by
Chris Cormack
on 2012-08-10 07:35:23 UTC
(
hide
)
Description:
Bug 8495: Fix JS error when creating a new order
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2012-08-10 07:35:23 UTC
Size:
1.22 KB
patch
obsolete
>From eccc95f2ec1b99ad8a24f6e51211ff2b4c82fe64 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Tue, 24 Jul 2012 12:24:11 +0200 >Subject: [PATCH] Bug 8495: Fix JS error when creating a new order > >bug introduced by bug 7178 >(http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7178) > >Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >--- > koha-tmpl/intranet-tmpl/prog/en/js/additem.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/additem.js b/koha-tmpl/intranet-tmpl/prog/en/js/additem.js >index ba6e126..2c15b04 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/js/additem.js >+++ b/koha-tmpl/intranet-tmpl/prog/en/js/additem.js >@@ -189,7 +189,7 @@ function check_additem(unique_item_fields) { > continue; > } > var values = new Array(); >- $("[name='kohafield'][value=items."+ fieldname +"]").each(function(){ >+ $("[name='kohafield'][value='items."+ fieldname +"']").each(function(){ > var input = $(this).prevAll("input[name='field_value']")[0]; > if($(input).val()) { > values.push($(input).val()); >-- >1.7.10.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 8495
:
11101
|
11106
| 11524