From 601f15527b2208beac83014b8674457cf0360d72 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 3 Nov 2017 16:33:51 +0100 Subject: [PATCH] No need to trigger VfsSelect click via DOM, since VfsSelect has its own click function --- filemanager/js/collab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filemanager/js/collab.js b/filemanager/js/collab.js index a010804718..6b70ad4720 100644 --- a/filemanager/js/collab.js +++ b/filemanager/js/collab.js @@ -316,7 +316,7 @@ app.classes.filemanager = app.classes.filemanager.extend({ // create file selector var vfs_select = et2_createWidget('vfs-select', vfs_attrs, this.et2); // start the file selector dialog - jQuery(vfs_select.getDOMNode()).click(); + vfs_select.click(); } } },