diff --git a/o2web/source/x_component_Homepage/FileContent.js b/o2web/source/x_component_Homepage/FileContent.js index c306f976c5f97e6d0bafb20e55010ca112d4795b..deb8c466e17c196c4f99f3b8bcb916418f35780b 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;