From 0cb587df8cc9dccccfb40c1d02f70a06d453722c Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Wed, 18 Mar 2009 14:30:54 +0000 Subject: [PATCH] Fixed page update after code search. --- inventory/manage/sales_kits.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/inventory/manage/sales_kits.php b/inventory/manage/sales_kits.php index 6040fcd..3e0492f 100644 --- a/inventory/manage/sales_kits.php +++ b/inventory/manage/sales_kits.php @@ -178,7 +178,6 @@ if ($Mode == 'RESET') unset($_POST['quantity']); unset($_POST['component']); } - //-------------------------------------------------------------------------------------------------- start_form(false, true); @@ -188,7 +187,7 @@ sales_kits_list('item_code', null, _('New kit'), true); echo "
"; $props = get_kit_props($_POST['item_code']); -if (isset($_POST['_item_code_update'])) { +if (list_updated('item_code')) { if (get_post('item_code') == '') $_POST['description'] = ''; $Ajax->activate('_page_body'); -- 2.30.2