Removing serverInformationModal from DOM
This commit is contained in:
1 parent
2a5699a5b7
commit
91abaf8a60
19 files changed
+72
-86
No files matched your search
@@ -51,3 +51,14 @@ OHIF.blaze.getParentTemplateView = view => {
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
// Get the view that contains the desired section's content and return it
|
||||
OHIF.blaze.getSectionContent = (view, sectionName) => {
|
||||
let currentView = view;
|
||||
while (!currentView._sectionMap || !currentView._sectionMap.get(sectionName)) {
|
||||
currentView = OHIF.blaze.getParentTemplateView(currentView);
|
||||
if (!currentView) return;
|
||||
}
|
||||
|
||||
return currentView._sectionMap.get(sectionName);
|
||||
};
|
||||
Reference in new issue
Block a user