mirror of
https://github.com/sismics/docs.git
synced 2025-12-13 01:36:18 +00:00
#176: Default tag when creating a document with a tag opened
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user