Fix a few remaining usages of free(), which was removed as part of the TypeScript conversion

This commit is contained in:
nathangray 2020-05-15 09:50:38 -06:00
parent 141ad5b5cc
commit 242d435252
4 changed files with 4 additions and 4 deletions

View File

@ -674,7 +674,7 @@ var AdminApp = /** @class */ (function (_super) {
if (this.acl_dialog != null) { if (this.acl_dialog != null) {
content = this.acl_dialog.get_value() || {}; content = this.acl_dialog.get_value() || {};
// Destroy the dialog // Destroy the dialog
this.acl_dialog.free(); this.acl_dialog.destroy();
this.acl_dialog = null; this.acl_dialog = null;
} }
// Re-open the dialog // Re-open the dialog

View File

@ -776,7 +776,7 @@ class AdminApp extends EgwApp
content = this.acl_dialog.get_value() || {}; content = this.acl_dialog.get_value() || {};
// Destroy the dialog // Destroy the dialog
this.acl_dialog.free(); this.acl_dialog.destroy();
this.acl_dialog = null; this.acl_dialog = null;
} }
// Re-open the dialog // Re-open the dialog

View File

@ -619,7 +619,7 @@ var EgwApp = /** @class */ (function () {
var favorite_prefix = 'favorite_'; var favorite_prefix = 'favorite_';
// Clear old, if existing // Clear old, if existing
if (this.favorite_popup && this.favorite_popup.group) { if (this.favorite_popup && this.favorite_popup.group) {
this.favorite_popup.group.free(); this.favorite_popup.group.destroy();
delete this.favorite_popup; delete this.favorite_popup;
} }
// Create popup // Create popup

View File

@ -796,7 +796,7 @@ export abstract class EgwApp
// Clear old, if existing // Clear old, if existing
if(this.favorite_popup && this.favorite_popup.group) if(this.favorite_popup && this.favorite_popup.group)
{ {
this.favorite_popup.group.free(); this.favorite_popup.group.destroy();
delete this.favorite_popup; delete this.favorite_popup;
} }