Added refresh button to jobs list page

This commit is contained in:
chouseknecht
2013-05-21 03:12:25 -04:00
parent 8343d20c60
commit c6e32cde35
2 changed files with 12 additions and 2 deletions

View File

@@ -28,6 +28,10 @@ function JobsListCtrl ($scope, $rootScope, $location, $log, $routeParams, Rest,
LoadBreadCrumbs();
scope.refreshJob = function() {
scope.search(list.iterator);
}
scope.editJob = function(id) {
$location.path($location.path() + '/' + id);
}