Bugzilla – Attachment 11106 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.17 KB, created by
Jonathan Druart
on 2012-07-24 12:45:46 UTC
(
hide
)
Description:
Bug 8495: Fix JS error when creating a new order
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2012-07-24 12:45:46 UTC
Size:
1.17 KB
patch
obsolete
>From d54d981198f4e89e228f8c46a92ebeaf767c4a47 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> >--- > koha-tmpl/intranet-tmpl/prog/en/js/additem.js | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >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.7.3
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