Bugzilla – Attachment 11101 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
0001-Bug-8495-Fix-JS-error-when-creating-a-new-order.patch (text/plain), 1.10 KB, created by
Julian Maurice
on 2012-07-24 10:25:50 UTC
(
hide
)
Description:
Bug 8495: Fix JS error when creating a new order
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2012-07-24 10:25:50 UTC
Size:
1.10 KB
patch
obsolete
>From 1456791689e2914069571d98622db57fe2de540e 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) >--- > 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