X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=inventory%2Fmanage%2Fitems.php;h=77362bcfd0fc73f6b6e4fcab71bcba903c21cacc;hb=3a57a3833e32f69d78200ddcd0d43bfa1fa9fde8;hp=a2e2f274ef2d0ba6a104edfd6ab5387f394871d8;hpb=70840a5223cf5c9f31d360946225bbad6a2a1943;p=fa-stable.git diff --git a/inventory/manage/items.php b/inventory/manage/items.php index a2e2f274..77362bcf 100644 --- a/inventory/manage/items.php +++ b/inventory/manage/items.php @@ -530,13 +530,13 @@ function item_settings(&$stock_id, $new_item) end_outer_table(1); div_start('controls'); + if (@$_REQUEST['popup']) hidden('popup', 1); if (!isset($_POST['NewStockID']) || $new_item) { submit_center('addupdate', _("Insert New Item"), true, '', 'default'); } else { - if (@$_REQUEST['popup']) hidden('popup', 1); submit_center_first('addupdate', _("Update Item"), '', $page_nested ? true : 'default'); submit_return('select', get_post('stock_id'),