Change clickable VFS path to trigger normal change function instead of directly opening.

Fixes loading full UI when clicking path in a share.
This commit is contained in:
nathangray 2019-06-17 11:18:47 -06:00
parent cd76cccf8b
commit cdcf2b1494

View File

@ -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)