cpClient.validUser(function (){ cpClient.reloadCustomers(); $.login.close(); });
function loadCustomers(){ cpClient.reloadCustomers(); }