diff --git a/omega-web/src/coffee/popup.coffee b/omega-web/src/coffee/popup.coffee index a64adb1..abd6d34 100644 --- a/omega-web/src/coffee/popup.coffee +++ b/omega-web/src/coffee/popup.coffee @@ -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() diff --git a/omega-web/src/popup.jade b/omega-web/src/popup.jade index 08d5a3e..7206eba 100644 --- a/omega-web/src/popup.jade +++ b/omega-web/src/popup.jade @@ -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')