From: Alexander Ebert Date: Mon, 15 Oct 2012 12:44:43 +0000 (+0200) Subject: Fixed JavaScript error during uninstallation X-Git-Tag: 2.0.0_Beta_1~861^2~6 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=82eaa0c69964267033074749de89720b4520442a;p=GitHub%2FWoltLab%2FWCF.git Fixed JavaScript error during uninstallation Fixes #842 --- diff --git a/wcfsetup/install/files/acp/js/WCF.ACP.js b/wcfsetup/install/files/acp/js/WCF.ACP.js index ba5e86f6c1..fee364e95a 100644 --- a/wcfsetup/install/files/acp/js/WCF.ACP.js +++ b/wcfsetup/install/files/acp/js/WCF.ACP.js @@ -529,7 +529,7 @@ WCF.ACP.Package.Uninstallation.prototype = { this._installation = new WCF.ACP.Package.Installation('uninstall', 0, false); // initialize dialog - WCF.showAJAXDialog('packageInstallationDialog', true, { + var $dialog = WCF.showAJAXDialog('packageInstallationDialog', true, { ajax: true, closable: false, data: { packageID: parameters.packageID, step: 'prepare' }, @@ -537,6 +537,7 @@ WCF.ACP.Package.Uninstallation.prototype = { title: 'wcf.acp.package.uninstall.title', url: 'index.php/UninstallPackage/?t=' + SECURITY_TOKEN + SID_ARG_2ND }); + this._installation._api = $dialog.data('wcfDialog'); } };