Fixed page update after item search.
[fa-stable.git] / inventory / cost_update.php
index ff58f9eb8900ed0bbcca3c7c0293893a2f449e6a..769ac7d679eb8b4cb8f252a1790c88033ceb9d75 100644 (file)
@@ -64,7 +64,7 @@ if (isset($_POST['UpdateData']))
        }
 }
 
-if (isset($_POST['_stock_id_update']))
+if (list_updated('stock_id')) 
        $Ajax->activate('cost_table');
 //-----------------------------------------------------------------------------------------