diff --git a/api/js/etemplate/et2_widget_vfs.js b/api/js/etemplate/et2_widget_vfs.js index b383a64bc5..de29868181 100644 --- a/api/js/etemplate/et2_widget_vfs.js +++ b/api/js/etemplate/et2_widget_vfs.js @@ -1002,7 +1002,7 @@ var et2_vfsSelect = (function(){ "use strict"; return et2_inputWidget.extend( {text: egw.lang(_data.content.label), id:"submit"}, {text: egw.lang("Close"), id:"close"} ]; - var data = jQuery.extend(_data, {'currentapp': egw.app_name()}); + var data = jQuery.extend(_data, {'currentapp': egw(window).app_name()}); // define a mini app object for vfs select UI app.vfsSelectUI = new app.classes.vfsSelectUI;