Added View option to explicitly load unassociated studies in the lesion tracker (LT-183)

This commit is contained in:
Erik Ziegler committed 2016-03-08 13:11:43 +01:00
1 parent 52286136ab
commit f53bfcc05c
5 files changed
+77 -8

No files matched your search

+4 -7
View File
@@ -3,12 +3,9 @@
*/
UI.registerHelper('formatTM', function(context, format) {
if (!context) {
return undefined;
return;
}
var dateAsMoment = moment(context);
var strFormat = "HH:mm:ss";
if (options) {
strFormat = format;
}
return dateAsMoment.format(strFormat);
var dateTime = moment(context);
return dateTime.format(format || "HH:mm:ss");
});