mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 09:28:29 +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) {
|
ImportExportApp.prototype.download = function (data) {
|
||||||
// Try to get the file to download in the parent window
|
// 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) {
|
if (app_templates.length > 0) {
|
||||||
app_templates[0].download(data);
|
app_templates[0].download(data);
|
||||||
}
|
}
|
||||||
|
@ -86,7 +86,7 @@ class ImportExportApp extends EgwApp
|
|||||||
download(data:string)
|
download(data:string)
|
||||||
{
|
{
|
||||||
// Try to get the file to download in the parent window
|
// 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)
|
if(app_templates.length > 0)
|
||||||
{
|
{
|
||||||
app_templates[0].download(data);
|
app_templates[0].download(data);
|
||||||
|
Loading…
Reference in New Issue
Block a user