aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorLionel Han <47760119+IGoByJoe@users.noreply.github.com>2020-07-26 22:08:28 -0700
committerLionel Han <47760119+IGoByJoe@users.noreply.github.com>2020-07-26 22:08:28 -0700
commit02843cd3831d3bd3a1cc6a30832178f404bf282b (patch)
tree3c527e0a0d2139ab88fecb29bb4b1708e619bd77 /src/client/documents/Documents.ts
parent8722fe67029f76f572eacd6e02d623690ca94793 (diff)
parent49fcb0f6613344fb62db618c0b466c6155c20eb0 (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into new_audio
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index ffc22292e..fb9f6fe46 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -92,6 +92,7 @@ export interface DocumentOptions {
layoutKey?: string;
type?: string;
title?: string;
+ label?: string;
toolTip?: string; // tooltip to display on hover
style?: string;
page?: number;
@@ -497,7 +498,7 @@ export namespace Docs {
Doc.Get.FromJson({ data: device, appendToExisting: { targetDoc: Doc.GetProto(doc) } });
Doc.AddDocToList(parentProto, "data", doc);
} else if (errors) {
- console.log(errors);
+ console.log("Documents:" + errors);
} else {
alert("A Buxton document import was completely empty (??)");
}