From fd40135d9d064497afceb159015b13f594c9aa25 Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Fri, 6 May 2016 16:11:50 -0400 Subject: [PATCH] jshint errors --- awx/ui/client/src/job-detail/job-detail.controller.js | 2 +- awx/ui/client/src/notifications/add/add.controller.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/ui/client/src/job-detail/job-detail.controller.js b/awx/ui/client/src/job-detail/job-detail.controller.js index de4011dd98..7c72a823bb 100644 --- a/awx/ui/client/src/job-detail/job-detail.controller.js +++ b/awx/ui/client/src/job-detail/job-detail.controller.js @@ -737,7 +737,7 @@ export default return true; }; - scope.toggleLessEvents = function(state) { + scope.toggleLessEvents = function() { if (!scope.lessEvents) { $('#events-summary').slideUp(200); scope.lessEvents = true; diff --git a/awx/ui/client/src/notifications/add/add.controller.js b/awx/ui/client/src/notifications/add/add.controller.js index 5108c8b0ab..1415c9bf05 100644 --- a/awx/ui/client/src/notifications/add/add.controller.js +++ b/awx/ui/client/src/notifications/add/add.controller.js @@ -110,7 +110,7 @@ export default Wait('start'); Rest.setUrl(url); Rest.post(params) - .success(function (data) { + .success(function () { $state.go('notifications', {}, {reload: true}); Wait('stop'); })