From: Janusz Dobrowolski Date: Sun, 22 Mar 2009 11:23:21 +0000 (+0000) Subject: Fixed picture display after upload in items.php. X-Git-Tag: 2.3-final~1315 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=f88c242c12a03d9e9ad0872a5a969d4557db1b86;p=fa-stable.git Fixed picture display after upload in items.php. --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 96638f9a..cf8c3384 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,10 @@ Legend: ! -> Note $ -> Affected files +22-Mar-2009 Janusz Dobrowolski +# Fixed item picture display after upload +$ /inventory/manage/items.php + 21-Mar-2009 Janusz Dobrowolski # Broken currency section after date change. $ /sales/includes/ui/sales_credit_ui.inc diff --git a/inventory/manage/items.php b/inventory/manage/items.php index f8370c72..1643375a 100644 --- a/inventory/manage/items.php +++ b/inventory/manage/items.php @@ -82,6 +82,7 @@ if (isset($_FILES['pic']) && $_FILES['pic']['name'] != '') { $result = move_uploaded_file($_FILES['pic']['tmp_name'], $filename); } + $Ajax->activate('details'); /* EOF Add Image upload for New Item - by Ori */ }