// 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
});
}
}
$(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>