From fd3af4926aa2210ec0477296d6df119b63c2aae2 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 19 Jan 2012 19:27:59 +0100 Subject: [PATCH] Fixed package uninstallation --- wcfsetup/install/files/acp/js/WCF.ACP.js | 7 ++++--- .../install/files/acp/templates/packageListDetailed.tpl | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/wcfsetup/install/files/acp/js/WCF.ACP.js b/wcfsetup/install/files/acp/js/WCF.ACP.js index 771b92f77f..84404a6cba 100644 --- a/wcfsetup/install/files/acp/js/WCF.ACP.js +++ b/wcfsetup/install/files/acp/js/WCF.ACP.js @@ -507,11 +507,12 @@ WCF.ACP.Package.Uninstallation.prototype = { // initialize dialog WCF.showAJAXDialog('packageInstallationDialog', true, { - url: 'index.php/UninstallPackage/?t=' + SECURITY_TOKEN + SID_ARG_2ND, + ajax: true, + closable: false, data: { packageID: packageID, step: 'prepare' }, success: $.proxy(this._installation._handleResponse, this._installation), - preventClose: true, - hideTitle: true + title: 'wcf.acp.package.uninstall.title', + url: 'index.php/UninstallPackage/?t=' + SECURITY_TOKEN + SID_ARG_2ND }); } } diff --git a/wcfsetup/install/files/acp/templates/packageListDetailed.tpl b/wcfsetup/install/files/acp/templates/packageListDetailed.tpl index 4ddd943740..643cfa9351 100644 --- a/wcfsetup/install/files/acp/templates/packageListDetailed.tpl +++ b/wcfsetup/install/files/acp/templates/packageListDetailed.tpl @@ -5,7 +5,7 @@ $(function() { WCF.Language.add('wcf.acp.package.view.button.uninstall.sure', '{lang}wcf.acp.package.view.button.uninstall.sure{/lang}'); - new WCF.ACP.PackageUninstallation($('.packageRow .uninstallButton')); + new WCF.ACP.Package.Uninstallation($('.packageRow .uninstallButton')); }); //]]> -- 2.20.1