mirror of
https://github.com/sismics/docs.git
synced 2024-11-22 05:57:57 +01:00
Bugfix tags selection, TODO
This commit is contained in:
parent
dcf3e49cb3
commit
5ba3fabf7a
@ -1 +1,2 @@
|
||||
- Reordering files (server)
|
||||
- Autocomplete on document title
|
||||
|
@ -29,9 +29,7 @@ App.controller('DocumentEdit', function($scope, $q, $http, $state, $stateParams,
|
||||
$scope.document = data;
|
||||
});
|
||||
} else {
|
||||
$scope.document = {
|
||||
tags: []
|
||||
};
|
||||
$scope.document = { tags: [] };
|
||||
}
|
||||
|
||||
/**
|
||||
@ -68,7 +66,7 @@ App.controller('DocumentEdit', function($scope, $q, $http, $state, $stateParams,
|
||||
$scope.pageDocuments();
|
||||
$state.transitionTo('document.view', { id: $stateParams.id });
|
||||
} else {
|
||||
$scope.document = {};
|
||||
$scope.document = { tags: [] };
|
||||
$scope.newFiles = [];
|
||||
$scope.loadDocuments();
|
||||
$scope.alerts.push({ type: 'success', msg: 'Document successfully added' });
|
||||
|
Loading…
Reference in New Issue
Block a user