X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=inventory%2Fmanage%2Fsales_kits.php;h=ccbd46560c80da88b5cf37c30c61ab950f71e487;hb=21290a4a16ca78fe736f62cf1cb039c06cb53fca;hp=a45dde70d8ac1784595f2cc8440be3a490efdd28;hpb=bf5873e7f5925d0f616743fce771873a4b7cecdf;p=fa-stable.git diff --git a/inventory/manage/sales_kits.php b/inventory/manage/sales_kits.php index a45dde70..ccbd4656 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(); @@ -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');