mirror of
https://git.victorphan.net/basketballcantho/Teedy_custom.git
synced 2026-08-06 14:13:11 +07: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
|
language: language
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if ($scope.navigatedTag) {
|
||||||
|
$scope.document.tags.push($scope.navigatedTag);
|
||||||
|
}
|
||||||
|
|
||||||
$scope.newFiles = [];
|
$scope.newFiles = [];
|
||||||
|
|
||||||
if ($scope.form) {
|
if ($scope.form) {
|
||||||
|
|||||||
Reference in New Issue
Block a user