toolManager: fixed annotate tool issues and added Text Marker Tool (importing callback functions from Nucleus) and using Metadata classes for OHIF Viewer
This commit is contained in:
1 parent
014dc7730f
commit
a8626d02c0
24 files changed
+516
-242
No files matched your search
@@ -11,16 +11,16 @@ openNewTab = function(studyInstanceUid, title) {
|
||||
// Generate a unique ID to represent this tab
|
||||
// We can't just use the Mongo entry ID because
|
||||
// then it will change after hot-reloading.
|
||||
var contentid = Random.id();
|
||||
var contentId = Random.id();
|
||||
|
||||
// Update the ViewerData global object
|
||||
ViewerData = window.ViewerData || ViewerData;
|
||||
ViewerData[contentid] = {
|
||||
ViewerData[contentId] = {
|
||||
title: title,
|
||||
contentid: contentid,
|
||||
contentId: contentId,
|
||||
studyInstanceUids: [studyInstanceUid]
|
||||
};
|
||||
|
||||
// Switch to the new tab
|
||||
switchToTab(contentid);
|
||||
switchToTab(contentId);
|
||||
};
|
||||
Reference in new issue
Block a user