CHE-7416. Fix 'Print Key Binding' feature (#8183)

Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
6.19.x
RomanNikitenko 2018-01-05 14:25:07 +02:00 committed by Vitalii Parfonov
parent 0e1e39fab4
commit f00a73fdc6
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ public class HotKeysDialogPresenter implements HotKeysDialogView.ActionDelegate
}
private static native void openWindowForPrinting(String htmlTemplate, JsoArray<Node> nodes) /*-{
var printWindow = $wnd.open("about:blank", "", "width=650,height=800");
var printWindow = window.open("about:blank", "", "width=650,height=800");
printWindow.document.write(htmlTemplate);
var container = printWindow.document.getElementById("key-bindings-container");
for (var node in nodes) {