diff --git a/omega-web/src/coffee/popup.coffee b/omega-web/src/coffee/popup.coffee index 84cbdda..1fbdae1 100644 --- a/omega-web/src/coffee/popup.coffee +++ b/omega-web/src/coffee/popup.coffee @@ -115,7 +115,7 @@ module.controller 'PopupCtrl', ($scope, $window, $q, omegaTarget, 'validResultProfiles', 'refreshOnProfileChange', 'externalProfile', 'proxyNotControllable' ]).then ([availableProfiles, currentProfileName, isSystemProfile, - validResultProfiles, refreshOnProfileChange, externalProfile, + validResultProfiles, refresh, externalProfile, proxyNotControllable]) -> $scope.proxyNotControllable = proxyNotControllable return if proxyNotControllable @@ -124,7 +124,7 @@ module.controller 'PopupCtrl', ($scope, $window, $q, omegaTarget, $scope.currentProfileName = currentProfileName $scope.isSystemProfile = isSystemProfile $scope.externalProfile = externalProfile - refreshOnProfileChange = refreshOnProfileChange + refreshOnProfileChange = refresh charCodeUnderscore = '_'.charCodeAt(0) profilesByNames = (names) ->