Fixed package uninstallation
authorAlexander Ebert <ebert@woltlab.com>
Thu, 19 Jan 2012 18:27:59 +0000 (19:27 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 19 Jan 2012 18:27:59 +0000 (19:27 +0100)
wcfsetup/install/files/acp/js/WCF.ACP.js
wcfsetup/install/files/acp/templates/packageListDetailed.tpl

index 771b92f77f90b9b8156b770e41e111f3802bc4b9..84404a6cbadc04cff834f89ace5406e20e1ca798 100644 (file)
@@ -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
                        });
                }
        }
index 4ddd9437400476b498f354ad602bc6767392552e..643cfa93516d55c73b15d7e6e2b4c623d6f7833d 100644 (file)
@@ -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'));
        });
        //]]>
 </script>