From: Janusz Dobrowolski Date: Wed, 18 Mar 2009 14:30:54 +0000 (+0000) Subject: Fixed page update after code search. X-Git-Tag: 2.3-final~1320 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=7a9ce3586ebb209d73c04380ae9699d29a3a5e65;p=fa-stable.git Fixed page update after code search. --- diff --git a/inventory/manage/sales_kits.php b/inventory/manage/sales_kits.php index 6040fcd8..3e0492fa 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');