Bugzilla – Attachment 9690 Details for
Bug 7178
Improve order item creation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7178 follow-up: Do not fill items table with "(undefined)"
0001-Bug-7178-follow-up-Do-not-fill-items-table-with-unde.patch (text/plain), 904 bytes, created by
Julian Maurice
on 2012-05-22 08:51:06 UTC
(
hide
)
Description:
Bug 7178 follow-up: Do not fill items table with "(undefined)"
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2012-05-22 08:51:06 UTC
Size:
904 bytes
patch
obsolete
>From 92b87eec7a1c90753e4bc91c3217bf4e61debae7 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Tue, 22 May 2012 10:47:01 +0200 >Subject: [PATCH] Bug 7178 follow-up: Do not fill items table with > "(undefined)" > >--- > koha-tmpl/intranet-tmpl/prog/en/js/additem.js | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/additem.js b/koha-tmpl/intranet-tmpl/prog/en/js/additem.js >index f892ca8..ba6e126 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/js/additem.js >+++ b/koha-tmpl/intranet-tmpl/prog/en/js/additem.js >@@ -65,6 +65,9 @@ function constructTrNode(index, unique_item_fields) { > } else { > field_value = $(field_elt).val(); > } >+ if (field_value == undefined) { >+ field_value = ''; >+ } > result += "<td>" + field_value + "</td>"; > } > result += "</tr>"; >-- >1.7.10 >
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 7178
:
6233
|
7249
|
7279
|
7450
|
7806
|
7807
|
7892
|
7963
|
8558
|
8672
|
8715
|
8857
|
8886
|
9511
|
9518
| 9690