From cdcf2b149479f80eeb1b5381aee53d29aa40c280 Mon Sep 17 00:00:00 2001 From: nathangray Date: Mon, 17 Jun 2019 11:18:47 -0600 Subject: [PATCH] Change clickable VFS path to trigger normal change function instead of directly opening. Fixes loading full UI when clicking path in a share. --- api/js/etemplate/et2_widget_vfs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/etemplate/et2_widget_vfs.js b/api/js/etemplate/et2_widget_vfs.js index e756835df1..33e8b7809f 100644 --- a/api/js/etemplate/et2_widget_vfs.js +++ b/api/js/etemplate/et2_widget_vfs.js @@ -375,7 +375,7 @@ var et2_vfsPath = (function(){ "use strict"; return et2_vfsName.extend( .text(text) //.attr('title', egw.decodePath(path)) .click({data:path, egw: this.egw()}, function(e) { - e.data.egw.open({path: egw.encodePath(e.data.data), type:'httpd/unix-directory'}, "file"); + return self.set_value(e.data.data); }) .prependTo(this.span); if(image && !this.options.noicon)