Fixed schedules list on Projects page and Job Templates page.

This commit is contained in:
Chris Houseknecht
2014-04-01 12:47:12 -04:00
parent 7bc7362299
commit 6b3d5da500
9 changed files with 85 additions and 85 deletions

View File

@@ -15,8 +15,7 @@ GetBasePath, Wait, Breadcrumbs, Find, LoadDialogPartial, LoadSchedulesScope, Get
ClearScope();
var base, e, id, url, parentObject,
schedules_scope = $scope.$new();
var base, e, id, url, parentObject;
base = $location.path().replace(/^\//, '').split('/')[0];
@@ -47,7 +46,7 @@ GetBasePath, Wait, Breadcrumbs, Find, LoadDialogPartial, LoadSchedulesScope, Get
LoadSchedulesScope({
parent_scope: $scope,
scope: schedules_scope,
scope: $scope,
list: SchedulesList,
id: 'schedule-list-target',
url: url
@@ -75,7 +74,7 @@ GetBasePath, Wait, Breadcrumbs, Find, LoadDialogPartial, LoadSchedulesScope, Get
});
$scope.refreshJobs = function() {
schedules_scope.search(SchedulesList.iterator);
$scope.search(SchedulesList.iterator);
};
Wait('start');