From aa1481b9317e6195901072ae0dc131cab0a3370f Mon Sep 17 00:00:00 2001 From: jaredevantabor Date: Tue, 21 Feb 2017 17:09:45 -0800 Subject: [PATCH] fix for jshint --- awx/ui/client/src/configuration/configuration.controller.js | 2 +- awx/ui/client/src/shared/directives.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/awx/ui/client/src/configuration/configuration.controller.js b/awx/ui/client/src/configuration/configuration.controller.js index bcfcb14a6a..39943cd942 100644 --- a/awx/ui/client/src/configuration/configuration.controller.js +++ b/awx/ui/client/src/configuration/configuration.controller.js @@ -71,7 +71,7 @@ export default [ // we want the options w/o a space, and // the ConfigurationUtils.arrayToList() // does a string.split(', ') w/ an extra space - // behind the comma. + // behind the comma. if(key === "AD_HOC_COMMANDS"){ $scope[key] = data[key].toString(); } diff --git a/awx/ui/client/src/shared/directives.js b/awx/ui/client/src/shared/directives.js index d41ef32eb4..3f368b0c28 100644 --- a/awx/ui/client/src/shared/directives.js +++ b/awx/ui/client/src/shared/directives.js @@ -159,6 +159,7 @@ function(ConfigurationUtils, i18n, $rootScope) { var filePickerText = angular.element(document.getElementById('filePickerText')); var filePickerError = angular.element(document.getElementById('filePickerError')); var filePickerButton = angular.element(document.getElementById('filePickerButton')); + var filePicker = angular.element(document.getElementById('filePicker')); scope.imagePresent = global.$AnsibleConfig.custom_logo || false; scope.imageData = $rootScope.custom_logo;