From 1d28fd14fe5b55fb644009078edb40083e6c0243 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 13 Oct 2020 17:47:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=BB=98=E8=AE=A4=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E7=82=B9=E5=87=BB=E7=A9=BA=E6=96=87=E4=BB=B6=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E6=B2=A1=E6=9C=89=E4=BC=98=E5=85=88=E6=89=93=E5=BC=80?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- o2web/source/x_component_Homepage/FileContent.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/o2web/source/x_component_Homepage/FileContent.js b/o2web/source/x_component_Homepage/FileContent.js index c306f976c5..deb8c466e1 100644 --- a/o2web/source/x_component_Homepage/FileContent.js +++ b/o2web/source/x_component_Homepage/FileContent.js @@ -127,8 +127,9 @@ MWF.xApplication.Homepage.FileContent.File = new Class({ //this.itemContentNode.addClass("o2_homepage_task_area_content_empty").addClass("icon_notask"); this.content.noItemNode = new Element("div.o2_homepage_file_area_content_empty_node", {"text": this.app.lp.noFile}).inject(this.container); this.content.noItemNode.addEvent("click", function(e){ - layout.openApplication(e, "File"); - }); + // layout.openApplication(e, "File"); + this.content.openFile(e); + }.bind(this)); var m = (this.content.contentHeight- this.content.noItemNode.getSize().y)/2; this.content.noItemNode.setStyle("margin-top", ""+m+"px"); this.content.isLoading = false; -- GitLab