Browse Source

Fix refreshOnProfileChange not working. Fix #188.

FelisCatus 11 years ago
parent
commit
0cd115f8f0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      omega-web/src/coffee/popup.coffee

+ 2 - 2
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) ->