LT-117: Add warning icon in study list row and give tip about user when warning icon is hovered if study is in-use by another user

This commit is contained in:
Aysel Afsar committed 2016-04-04 00:00:33 -04:00
1 parent 064743a8f7
commit 2da841bab0
15 files changed
+206 -8

No files matched your search

+16 -5
View File
@@ -16,11 +16,11 @@ Meteor.startup(function() {
qidoSupportsIncludeField: false,
imageRendering: 'wadouri',
requestOptions: {
auth: 'orthanc:orthanc',
logRequests: true,
logResponses: false,
logTiming: true
}
auth: 'orthanc:orthanc',
logRequests: true,
logResponses: false,
logTiming: true
}
}]
},
dimse: [{
@@ -37,4 +37,15 @@ Meteor.startup(function() {
};
console.log('Using default LesionTracker settings with service: ' + Meteor.settings.defaultServiceType);
// Bind events if window is closed
$(window).bind('beforeunload', function (e) {
closingWindow();
// have to return null, unless you want a chrome popup alert
//return 'If you leave this page then any unsaved changes will be lost.';
});
});
closingWindow = function(){
Meteor.call('removeUserFromReviewers', Meteor.userId());
};