Wrap all controller setup code with Client.onReady()
This ensures we don't rely on timing for execution against a non ready Client instance
This commit is contained in:
@@ -389,7 +389,7 @@ angular.module('Application').controller('UsersController', ['$scope', '$locatio
|
||||
});
|
||||
}
|
||||
|
||||
refresh();
|
||||
Client.onReady(refresh);
|
||||
|
||||
// setup all the dialog focus handling
|
||||
['userAddModal', 'userRemoveModal', 'userEditModal', 'groupAddModal', 'groupRemoveModal'].forEach(function (id) {
|
||||
|
||||
Reference in New Issue
Block a user