Handle tutorial walkthrough

This commit is contained in:
Johannes Zellner
2016-05-06 14:38:17 +02:00
parent 7e1055ae44
commit e413f7ba9b
5 changed files with 34 additions and 1 deletions

View File

@@ -173,6 +173,13 @@ angular.module('Application').controller('AccountController', ['$scope', '$locat
});
};
$scope.showTutorial = function () {
Client.setShowTutorial(true, function (error) {
if (error) return console.error(error);
$scope.$parent.startTutorial();
});
};
Client.onReady(function () {
$scope.tokenInUse = Client._token;