Make sure the appname is from the current window

This commit is contained in:
Hadi Nategh 2017-12-05 18:01:55 +01:00
parent 9c397dd69c
commit fecb034955

View File

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