From: Joe Hunt Date: Sat, 28 Nov 2009 08:41:15 +0000 (+0000) Subject: Missing ajax trigger in stock_purchasable_items_list_cells. Prices not updated instantly X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=da356862f794958acade643e15c325578762b539;p=textcart.git Missing ajax trigger in stock_purchasable_items_list_cells. Prices not updated instantly --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 7f7804c..d4da3a0 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,10 @@ Legend: ! -> Note $ -> Affected files +28-Nov-2009 Chaitanya/Joe Hunt +# Missing ajax trigger in stock_purchasable_items_list_cells. Prices not updated instantly. +$ /purchasing/includes/ui/po_ui.inc + 26-Nov-2009 Joe Hunt # Round to nearest value of 0 produced a division by zero error $ /admin/company_preferences.php diff --git a/purchasing/includes/ui/po_ui.inc b/purchasing/includes/ui/po_ui.inc index dcc5f05..042c064 100644 --- a/purchasing/includes/ui/po_ui.inc +++ b/purchasing/includes/ui/po_ui.inc @@ -304,7 +304,7 @@ function po_item_controls(&$order, $stock_id=null) { hidden('line_no', ($_SESSION['PO']->lines_on_order + 1)); - stock_purchasable_items_list_cells(null, 'stock_id', null, false, false, true); + stock_purchasable_items_list_cells(null, 'stock_id', null, false, true, true); if (list_updated('stock_id')) { $Ajax->activate('price'); $Ajax->activate('units');