mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-01-22 23:08:13 -05:00
Fix refreshOnProfileChange not working. Fix #188.
This commit is contained in:
parent
297775ca4f
commit
0cd115f8f0
@ -115,7 +115,7 @@ module.controller 'PopupCtrl', ($scope, $window, $q, omegaTarget,
|
|||||||
'validResultProfiles', 'refreshOnProfileChange', 'externalProfile',
|
'validResultProfiles', 'refreshOnProfileChange', 'externalProfile',
|
||||||
'proxyNotControllable'
|
'proxyNotControllable'
|
||||||
]).then ([availableProfiles, currentProfileName, isSystemProfile,
|
]).then ([availableProfiles, currentProfileName, isSystemProfile,
|
||||||
validResultProfiles, refreshOnProfileChange, externalProfile,
|
validResultProfiles, refresh, externalProfile,
|
||||||
proxyNotControllable]) ->
|
proxyNotControllable]) ->
|
||||||
$scope.proxyNotControllable = proxyNotControllable
|
$scope.proxyNotControllable = proxyNotControllable
|
||||||
return if proxyNotControllable
|
return if proxyNotControllable
|
||||||
@ -124,7 +124,7 @@ module.controller 'PopupCtrl', ($scope, $window, $q, omegaTarget,
|
|||||||
$scope.currentProfileName = currentProfileName
|
$scope.currentProfileName = currentProfileName
|
||||||
$scope.isSystemProfile = isSystemProfile
|
$scope.isSystemProfile = isSystemProfile
|
||||||
$scope.externalProfile = externalProfile
|
$scope.externalProfile = externalProfile
|
||||||
refreshOnProfileChange = refreshOnProfileChange
|
refreshOnProfileChange = refresh
|
||||||
|
|
||||||
charCodeUnderscore = '_'.charCodeAt(0)
|
charCodeUnderscore = '_'.charCodeAt(0)
|
||||||
profilesByNames = (names) ->
|
profilesByNames = (names) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user