Browse Source

Connect functionality to print menu item in new batch log

Neal Wilson 9 years ago
parent
commit
c2a9dc9f8c
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      config/Reports/historyreport.xml

+ 4
- 0
config/Reports/historyreport.xml View File

72
                 refresh();
72
                 refresh();
73
             });
73
             });
74
             var view = findChildObject(this, 'report');
74
             var view = findChildObject(this, 'report');
75
+            var printMenu = findChildObject(this, 'print');
76
+            printMenu.triggered.connect(function() {
77
+                view.print();
78
+            });
75
             view.scriptLinkClicked.connect(function(url) {
79
             view.scriptLinkClicked.connect(function(url) {
76
                 var arg = decodeURI(url.slice(2, url.length));
80
                 var arg = decodeURI(url.slice(2, url.length));
77
                 var key = arg.split("@");
81
                 var key = arg.split("@");

Loading…
Cancel
Save