Applied change to all list controllers to remove success class after page refresh. If the list was previously used to make a selection, there won't be any remnants or reminders of the selection next time the list is visited.

This commit is contained in:
chouseknecht
2013-06-05 16:13:25 -04:00
parent 135d4db94b
commit 5a22f3b955
12 changed files with 91 additions and 4 deletions

View File

@@ -24,6 +24,7 @@ function UsersList ($scope, $rootScope, $location, $log, $routeParams, Rest,
var mode = (base == 'users') ? 'edit' : 'select'; // if base path 'users', we're here to add/edit users
var scope = view.inject(UserList, { mode: mode }); // Inject our view
scope.selected = [];
$rootScope.flashMessage = null;
SearchInit({ scope: scope, set: 'users', list: list, url: defaultUrl });
PaginateInit({ scope: scope, list: list, url: defaultUrl });