From f7789a23a1933e406b169389b56939e6c77c5b87 Mon Sep 17 00:00:00 2001 From: huqi Date: Thu, 15 Jul 2021 13:04:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=AD=A3=E6=96=87=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E5=99=A8=E6=A8=A1=E6=9D=BF=E6=A0=BC=E5=BC=8F=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../$Form/default/icon/print_gray.png | Bin 0 -> 255 bytes .../x_component_process_Xform/Documenteditor.js | 4 +++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 o2web/source/x_component_process_Xform/$Form/default/icon/print_gray.png diff --git a/o2web/source/x_component_process_Xform/$Form/default/icon/print_gray.png b/o2web/source/x_component_process_Xform/$Form/default/icon/print_gray.png new file mode 100644 index 0000000000000000000000000000000000000000..62baec7a73b8d5e77187bd5261fd0f7e56a2891b GIT binary patch literal 255 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt^zJY5_^ zEP9Uy?&dvYAW(Zgkul6caI(V1P0mZAl}}1Nmx?;Yaga;0F|zNNf_10tu06-Dy?j~w zu3_!Lmkusg47qLhS7(Xym;D!N{=k!``cSJ*bk?$!bBo0%r86k}?CMM_<9grxBsTQE zL&(Bas~8VlK6A|Bj{lis3N;J{3>Iok3|YpnJ!Y-C=e5!G$iDw6o%eocZ~VZN7JlPf z&%)?)vJAI&)K78?@hk@>A@O1TaS?83{1OO9- BXRrVO literal 0 HcmV?d00001 diff --git a/o2web/source/x_component_process_Xform/Documenteditor.js b/o2web/source/x_component_process_Xform/Documenteditor.js index 659b5cd8f9..4f1046f959 100644 --- a/o2web/source/x_component_process_Xform/Documenteditor.js +++ b/o2web/source/x_component_process_Xform/Documenteditor.js @@ -1456,7 +1456,8 @@ MWF.xApplication.process.Xform.Documenteditor = MWF.APPDocumenteditor = new Cla // } // return this.fullWidthFlagNode; // }, - _printDoc: function(){ + _printDoc: function(e,el){ + e.disable(); var scale = this.scale; this.toWord(function(data, filename){ if (filename){ @@ -1469,6 +1470,7 @@ MWF.xApplication.process.Xform.Documenteditor = MWF.APPDocumenteditor = new Cla } } this.scaleTo(scale); + e.enable(); }.bind(this), "", null, true); }, _historyDoc: function(){ -- GitLab