X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=inline;f=inventory%2Fmanage%2Fsales_kits.php;h=3e0492fa268c0129816d17dea68449cb6e3fdb2b;hb=7a9ce3586ebb209d73c04380ae9699d29a3a5e65;hp=6040fcd81295a642353fbd0c9f8acad23faf2134;hpb=c3a6a79620e75530bb8beffb9b81ca14430de5ae;p=fa-stable.git 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');