Browse Source
Do not error when the tag does not exist
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/9393/head
Joas Schilling
8 years ago
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with
3 additions and
1 deletions
-
apps/workflowengine/js/filesystemtagsplugin.js
|
|
|
@ -63,7 +63,9 @@ |
|
|
|
}, |
|
|
|
formatSelection: function (tagId) { |
|
|
|
var tag = OC.SystemTags.collection.get(tagId); |
|
|
|
return OC.SystemTags.getDescriptiveTag(tag); |
|
|
|
if (!_.isUndefined(tag)) { |
|
|
|
return OC.SystemTags.getDescriptiveTag(tag); |
|
|
|
} |
|
|
|
}, |
|
|
|
escapeMarkup: function(m) { |
|
|
|
return m; |
|
|
|
|