mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
Import/Export: Fix export download did not download
This commit is contained in:
parent
146cba903b
commit
63a320ca35
@ -84,7 +84,7 @@ var ImportExportApp = /** @class */ (function (_super) {
|
||||
*/
|
||||
ImportExportApp.prototype.download = function (data) {
|
||||
// Try to get the file to download in the parent window
|
||||
var app_templates = this.egw.top.etemplate2.getByApplication(framework.activeApp);
|
||||
var app_templates = this.egw.top.etemplate2.getByApplication(framework.activeApp.appName);
|
||||
if (app_templates.length > 0) {
|
||||
app_templates[0].download(data);
|
||||
}
|
||||
|
@ -86,7 +86,7 @@ class ImportExportApp extends EgwApp
|
||||
download(data:string)
|
||||
{
|
||||
// Try to get the file to download in the parent window
|
||||
let app_templates = this.egw.top.etemplate2.getByApplication(framework.activeApp);
|
||||
let app_templates = this.egw.top.etemplate2.getByApplication(framework.activeApp.appName);
|
||||
if(app_templates.length > 0)
|
||||
{
|
||||
app_templates[0].download(data);
|
||||
|
Loading…
Reference in New Issue
Block a user