Job template form add mode, can_edit = true

had to include can_edit = true for creating a job template so that button would be enabled when form is valid
This commit is contained in:
Jared Tabor 2014-12-10 16:22:09 -05:00
parent e668280d67
commit b70464dfeb

View File

@ -259,7 +259,7 @@ function JobTemplatesAdd($scope, $rootScope, $compile, $location, $log, $routePa
callback;
CallbackHelpInit({ scope: $scope });
$scope.can_edit = true;
generator.inject(form, { mode: 'add', related: false, scope: $scope });
callback = function() {