Removing serverInformationModal from DOM

This commit is contained in:
Bruno Alves de Faria committed 2017-03-21 10:16:46 -03:00
1 parent 2a5699a5b7
commit 91abaf8a60
19 files changed
+72 -86

No files matched your search

@@ -24,7 +24,7 @@
</div>
<ul class="dropdown-menu dropdown-menu-right">
<li>
<a data-toggle="modal" data-target="#serverInformationModal">
<a id="serverInformation">
<i class="fa fa-server fa-lg"></i> Server Information
</a>
</li>
@@ -39,7 +39,6 @@
</span>
</div>
</div>
{{>serverInformationModal}}
{{>studylist}}
{{>aboutModal}}
{{>viewSeriesDetailsModal}}
@@ -1,5 +1,6 @@
import { Template } from 'meteor/templating';
import { Session } from 'meteor/session';
import { OHIF } from 'meteor/ohif:core';
const studylistContentId = 'studylistTab';
let lastContentId;
@@ -20,6 +21,10 @@ Template.ohifViewer.events({
} else {
switchToTab(lastContentId);
}
},
'click #serverInformation'() {
OHIF.ui.showDialog('serverInformationModal');
}
});