Fixed page update after item search.
[fa-stable.git] / inventory / purchasing_data.php
index 67b670ffd6a89c742da8a5c37a352aa45992be57..292055bea90bcf929e95caa6daea4bb7e3b1ad06 100644 (file)
@@ -92,7 +92,7 @@ if (isset($_POST['_selected_id_update']) )
        $Ajax->activate('_page_body');
 }
 
-if (isset($_POST['_stock_id_update']))
+if (list_updated('stock_id')) 
        $Ajax->activate('price_table');
 //--------------------------------------------------------------------------------------------------