Add ability to attach freeform text tags to apps
This commit is contained in:
@@ -56,6 +56,7 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
|
||||
alternateSubdomain: '',
|
||||
alternateDomain: null,
|
||||
ssoAuth: false,
|
||||
tags: '',
|
||||
|
||||
action: 'general',
|
||||
|
||||
@@ -126,6 +127,9 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
|
||||
}
|
||||
}
|
||||
|
||||
// translate for tag-input
|
||||
$scope.appConfigure.tags = app.tags ? app.tags.join(',') : '';
|
||||
|
||||
$('#appConfigureModal').modal('show');
|
||||
},
|
||||
|
||||
@@ -166,6 +170,7 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
|
||||
enableBackup: $scope.appConfigure.enableBackup,
|
||||
enableAutomaticUpdate: $scope.appConfigure.enableAutomaticUpdate,
|
||||
alternateDomains: [],
|
||||
tags: $scope.appConfigure.tags.split(','),
|
||||
dataDir: $scope.appConfigure.dataDirEnabled ? $scope.appConfigure.dataDir : ''
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user