adding beginning of survey maker and portal mode

This commit is contained in:
Jared Tabor
2014-09-10 10:43:52 -04:00
parent b1463f056d
commit 64961f8504
13 changed files with 871 additions and 3 deletions
@@ -335,6 +335,11 @@ function JobTemplatesAdd($scope, $rootScope, $compile, $location, $log, $routePa
$scope[fld] = master[fld];
}
};
//navigate to the survey maker
$scope.navigateToSurvey = function() {
$location.path($location.path() + '/survey');
};
}
JobTemplatesAdd.$inject = ['$scope', '$rootScope', '$compile', '$location', '$log', '$routeParams', 'JobTemplateForm',
@@ -813,6 +818,11 @@ function JobTemplatesEdit($scope, $rootScope, $compile, $location, $log, $routeP
});
};
//navigate to the survey maker
$scope.navigateToSurvey = function() {
$location.path($location.path() + '/survey');
};
// Related set: Delete button
$scope['delete'] = function (set, itm_id, name, title) {
$rootScope.flashMessage = null;