aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authoranika-ahluwalia <anika.ahluwalia@gmail.com>2020-07-23 13:51:27 -0500
committeranika-ahluwalia <anika.ahluwalia@gmail.com>2020-07-23 13:51:27 -0500
commit88176a166d78481d8f2f2f49ecf54e0f79926646 (patch)
tree6067cf61e1ab03d1a2cc7a1797ac86937fd5851d /src/client/documents/Documents.ts
parentfeb86078832da5f7207bc5775a61d7dd93681e98 (diff)
parent3bcc0e3a8ce4ab67dff4b3d62191c346764aa351 (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into menu_restructure
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 e2569ec70..cd2792226 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;
@@ -494,7 +495,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 (??)");
}