Add Ajax : change stock_id update page.
authorMaxime Bourget <bmx007@gmail.com>
Fri, 31 May 2013 20:50:33 +0000 (21:50 +0100)
committerMaxime Bourget <bmx007@gmail.com>
Fri, 31 May 2013 20:50:33 +0000 (21:50 +0100)
item_schedule.php

index 6fa44effc4af8a41d21b3a1021b9c2892e09dede..45bbfd60a07a96e183c5c18dcb2774efaf17b9b5 100644 (file)
@@ -50,6 +50,8 @@ else {
        $_POST['stock_id'] = get_global_stock_item();
        }
 }
+if (list_updated('stock_id')) 
+       $Ajax->activate('item_schedule');
 
 //if (!@$_GET['popup'])
        start_form();