mirror of
https://github.com/sismics/docs.git
synced 2024-12-22 11:23:48 +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
|
||||
};
|
||||
|
||||
if ($scope.navigatedTag) {
|
||||
$scope.document.tags.push($scope.navigatedTag);
|
||||
}
|
||||
|
||||
$scope.newFiles = [];
|
||||
|
||||
if ($scope.form) {
|
||||
|
Loading…
Reference in New Issue
Block a user