Remove the tutorial components and logic
This commit is contained in:
@@ -136,7 +136,6 @@
|
||||
<tr>
|
||||
<td class="text-right" colspan="2" style="vertical-align: top;">
|
||||
<br/>
|
||||
<button class="btn btn-outline btn-xs btn-default" ng-show="user.admin" ng-click="showTutorial()">Show Tutorial</button>
|
||||
<button class="btn btn-outline btn-xs btn-danger" ng-click="passwordchange.show()">Change Password</button>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -167,13 +167,6 @@ angular.module('Application').controller('AccountController', ['$scope', 'Client
|
||||
}
|
||||
};
|
||||
|
||||
$scope.showTutorial = function () {
|
||||
Client.setShowTutorial(true, function (error) {
|
||||
if (error) return console.error(error);
|
||||
$scope.$parent.startTutorial();
|
||||
});
|
||||
};
|
||||
|
||||
// poor man's async
|
||||
function asyncForEach(items, handler, callback) {
|
||||
var cur = 0;
|
||||
|
||||
Reference in New Issue
Block a user