From 1a6f074d4369795b0f91d7589e0b1594f3471121 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 7 Apr 2015 17:03:46 +0200 Subject: [PATCH] Bug 10388: Does not display 'null' after editing an item on receiving After editing an item on receiving, 'null' is displayed if no value is defined for a field. It should be blank. Test plan: 0/ Set AcqCreateItem to 'ordering' 1/ Go on the receipt page page 2/ Edit an item 3/ Does not fill all values 4/ Confirm that undefined values are replaced with an empty string NOTE: I think you meant receive. Editing requires at least clicking the dropdown value, even if you don't change it before clicking save. null's appeared. Post patch application was able to get nulls to disappear. :) Signed-off-by: Mark Tompsett --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt index 014f39b..08565a6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt @@ -69,7 +69,9 @@ var tds = $("#item_"+itemnumber+" td"); for(var i=2; i