diff --git a/awx/ui/static/js/controllers/JobTemplates.js b/awx/ui/static/js/controllers/JobTemplates.js index c2fdf4464d..4eaaae09ca 100644 --- a/awx/ui/static/js/controllers/JobTemplates.js +++ b/awx/ui/static/js/controllers/JobTemplates.js @@ -264,7 +264,7 @@ function JobTemplatesAdd($scope, $rootScope, $compile, $location, $log, $routePa callback = function() { // Make sure the form controller knows there was a change - $scope[form.name + '_form'].setDirty(); + $scope[form.name + '_form'].$setDirty(); }; $scope.mode = "add"; $scope.parseType = 'yaml';