Ver código fonte

Connect functionality to print menu item in new batch log

Neal Wilson 8 anos atrás
pai
commit
c2a9dc9f8c
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4
    0
      config/Reports/historyreport.xml

+ 4
- 0
config/Reports/historyreport.xml Ver arquivo

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

Carregando…
Cancelar
Salvar