Skip to content
Snippets Groups Projects
Commit 77f451f0 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

- features tour was not working if helptip was disabled

parent 912caf28
No related branches found
No related tags found
No related merge requests found
......@@ -10,31 +10,32 @@ angular.module("cesium.config", [])
.constant("csConfig", {
"cacheTimeMs": 60000,
"fallbackLanguage": "en",
"rememberMe": false,
"fallbackLanguage": "fr-FR",
"defaultLanguage": "fr-FR",
"rememberMe": true,
"showUDHistory": false,
"timeout": 4000,
"timeout": 6000,
"timeWarningExpireMembership": 5184000,
"timeWarningExpire": 7776000,
"useLocalStorage": true,
"useRelative": true,
"initPhase": false,
"helptip": {
"enable": true
"enable": false
},
"node": {
"host": "test-net.duniter.fr",
"port": "9201"
"host": "duniter.le-sou.org",
"port": "9600"
},
"plugins": {
"es": {
"enable": true,
"enable": false,
"host": "data.duniter.fr",
"port": "80"
}
},
"version": "0.4.0",
"build": "2016-10-21T15:18:23.187Z",
"build": "2016-10-21T15:54:09.573Z",
"newIssueUrl": "https://github.com/duniter/cesium/issues/new?labels=bug"
})
......
......@@ -142,9 +142,9 @@ function AppController($scope, $rootScope, $state, $ionicSideMenuDelegate, $q, $
};
$scope.startHelpTour = function() {
delete $rootScope.tour;
var helptipScope = $scope.createHelptipScope();
$rootScope.tour = true; // to avoid other helptip to be launched (e.g. wallet)
var helptipScope = $scope.$new();
$controller('HelpTipCtrl', { '$scope': helptipScope});
return helptipScope.startHelpTour()
.then(function() {
helptipScope.$destroy();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment