From: Alexander Ebert Date: Thu, 19 Jan 2012 18:27:59 +0000 (+0100) Subject: Fixed package uninstallation X-Git-Tag: 2.0.0_Beta_1~1411 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fd3af4926aa2210ec0477296d6df119b63c2aae2;p=GitHub%2FWoltLab%2FWCF.git Fixed package uninstallation --- 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')); }); //]]>