mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-01-22 06:58:14 -05:00
Condition type - show help not showing help #76
This commit is contained in:
parent
1b2d20b4cb
commit
0fd0a945b2
@ -129,14 +129,14 @@ module.controller 'PopupCtrl', ($scope, $window, $q, omegaTarget,
|
||||
$window.top.close()
|
||||
$scope.openConditionHelp = ->
|
||||
pname = encodeURIComponent($scope.currentProfileName)
|
||||
$scope.openOptions("#/profile/#{pname}?help=condition")
|
||||
$scope.openOptions("#!/profile/#{pname}?help=condition")
|
||||
|
||||
$scope.applyProfile = (profile) ->
|
||||
next = ->
|
||||
if profile.profileType == 'SwitchProfile'
|
||||
return omegaTarget.state('web.switchGuide').then (switchGuide) ->
|
||||
if switchGuide == 'showOnFirstUse'
|
||||
return $scope.openOptions("#/profile/#{profile.name}")
|
||||
return $scope.openOptions("#!/profile/#{profile.name}")
|
||||
if not refreshOnProfileChange
|
||||
omegaTarget.applyProfileNoReply(profile.name)
|
||||
apply = next()
|
||||
|
@ -167,7 +167,7 @@ html(lang='en' ng-app='omegaPopup' ng-controller='PopupCtrl' ng-csp)
|
||||
| {{'Add temp condition'}}
|
||||
button.btn.btn-primary(type='submit' ng-show='!!currentProfileCanAddRule') {{'popup_addCondition' | tr}}
|
||||
button.btn.btn-default.pull-right(type='button' ng-show='!currentProfileCanAddRule'
|
||||
ng-click='openOptions("#/general")') {{'popup_configureMonitorWebRequests' | tr}}
|
||||
ng-click='openOptions("#!/general")') {{'popup_configureMonitorWebRequests' | tr}}
|
||||
|
||||
script(src='js/log_error.js')
|
||||
script(src='lib/iframeResizer/iframeResizer.contentWindow.min.js')
|
||||
|
Loading…
Reference in New Issue
Block a user