(css) Initial media print (for messages only)

This commit is contained in:
Francis Lachapelle
2016-02-26 15:41:53 -05:00
parent dc338e2062
commit 699399f339
5 changed files with 55 additions and 3 deletions
@@ -35,6 +35,7 @@
vm.saveMessage = saveMessage;
vm.toggleRawSource = toggleRawSource;
vm.showRawSource = false;
vm.print = print;
vm.convertToEvent = convertToEvent;
vm.convertToTask = convertToTask;
@@ -257,6 +258,10 @@
}
}
function print($event) {
$window.print();
}
function convertToEvent($event) {
return convertToComponent($event, 'appointment');
}