No need to trigger VfsSelect click via DOM, since VfsSelect has its own click function

This commit is contained in:
Hadi Nategh 2017-11-03 16:33:51 +01:00
parent 6c093e0aac
commit 601f15527b

View File

@ -316,7 +316,7 @@ app.classes.filemanager = app.classes.filemanager.extend({
// create file selector // create file selector
var vfs_select = et2_createWidget('vfs-select', vfs_attrs, this.et2); var vfs_select = et2_createWidget('vfs-select', vfs_attrs, this.et2);
// start the file selector dialog // start the file selector dialog
jQuery(vfs_select.getDOMNode()).click(); vfs_select.click();
} }
} }
}, },