From ae3b2bb8305be80dfb1e4e89bd10a0395c7db5ba Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Sun, 29 Oct 2017 10:51:03 +0100 Subject: [PATCH] On the fly editing (F2, F3 and F4) fix. --- purchasing/manage/suppliers.php | 2 ++ sales/manage/customers.php | 1 + 2 files changed, 3 insertions(+) diff --git a/purchasing/manage/suppliers.php b/purchasing/manage/suppliers.php index 8999fd2a..4c127b7e 100644 --- a/purchasing/manage/suppliers.php +++ b/purchasing/manage/suppliers.php @@ -167,6 +167,7 @@ function supplier_settings(&$supplier_id) end_outer_table(1); div_start('controls'); + if (@$_REQUEST['popup']) hidden('popup', 1); if ($supplier_id) { submit_center_first('submit', _("Update Supplier"), @@ -278,6 +279,7 @@ elseif (isset($_POST['delete']) && $_POST['delete'] != "") unset($_SESSION['supplier_id']); $supplier_id = ''; $Ajax->activate('_page_body'); + display_notification("#" . $_POST['supplier_id'] . " " . _("Supplier has been deleted.")); } //end if Delete supplier } diff --git a/sales/manage/customers.php b/sales/manage/customers.php index d00bfdc0..3810e2b4 100644 --- a/sales/manage/customers.php +++ b/sales/manage/customers.php @@ -301,6 +301,7 @@ function customer_settings($selected_id) end_outer_table(1); div_start('controls'); + if (@$_REQUEST['popup']) hidden('popup', 1); if (!$selected_id) { submit_center('submit', _("Add New Customer"), true, '', 'default'); -- 2.30.2