mirror of
https://github.com/sismics/docs.git
synced 2024-11-25 23:27:57 +01:00
#176: Default tag when creating a document with a tag opened
This commit is contained in:
parent
16215dde3b
commit
bf37c5cb51
@ -62,6 +62,10 @@ angular.module('docs').controller('DocumentEdit', function($rootScope, $scope, $
|
|||||||
language: language
|
language: language
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if ($scope.navigatedTag) {
|
||||||
|
$scope.document.tags.push($scope.navigatedTag);
|
||||||
|
}
|
||||||
|
|
||||||
$scope.newFiles = [];
|
$scope.newFiles = [];
|
||||||
|
|
||||||
if ($scope.form) {
|
if ($scope.form) {
|
||||||
|
Loading…
Reference in New Issue
Block a user