refactored command with steps

This commit is contained in:
Bálint Szekeres
2019-05-19 17:11:11 +02:00
parent f54d4bd6cb
commit c1847af9ac
11 changed files with 299 additions and 61 deletions

View File

@@ -353,6 +353,8 @@
$scope.clipboardCopy = undefined;
$scope.activeStep = 'download';
$scope.gzipTypes = 'text/plain text/css text/xml application/json application/javascript application/rss+xml application/atom+xml image/svg+xml';
$scope.extensions = {
@@ -489,6 +491,10 @@
});
};
$scope.setActiveStep = function(step) {
$scope.activeStep = step;
};
$scope.getSiteChanges = function(site) {
if ($scope.siteChanges[site] === undefined) {
return undefined;