Welcome to mirror list, hosted at ThFree Co, Russian Federation.

AddWizardController.js « controllers « scripts « ngax « webroot « Server « Duplicati - github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b2e36f08a600ed2f02ec0320896f9e53a7279935 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
backupApp.controller('AddWizardController', function($scope, $location, gettextCatalog) {

    $scope.selection = {
        style: 'blank'
    };

    $scope.nextPage = function() {
        if ($scope.selection.style == 'blank')
            $location.path('/add');
        else
            $location.path('/import');
    };
});