Two smaller bugs [0000023],[0000026]
[fa-stable.git] / sales / manage / customers.php
index 8f1eccb88192bd59ff9cda74fd4694e2242c9169..bf58e7616c0a00487b4af5f87941573ae057e8c8 100644 (file)
@@ -94,8 +94,7 @@ function handle_submit()
 
                display_notification(_("A new customer has been added."));
 
-               $Ajax->activate('customer_id');
-               $Ajax->activate('controls');
+               $Ajax->activate('_page_body');
        }
 }
 
@@ -176,7 +175,7 @@ if (db_has_customers())
 } 
 else 
 {
-       hidden('customer_id', $_POST['customer_id']);
+       hidden('customer_id');
 }
 
 start_table($table_style2, 7, 6);