prepareInstallation: function() {
var $dialog = WCF.showAJAXDialog('packageInstallationDialog', true, {
ajax: true,
- url: 'index.php/' + this._actionName + '/?t=' + SECURITY_TOKEN + SID_ARG_2ND,
+ closable: false,
data: { queueID: this._queueID, step: 'prepare' },
success: $.proxy(this._handleResponse, this),
- preventClose: true,
- hideTitle: true
+ title: WCF.Language.get('wcf.acp.package.installation.title'),
+ url: 'index.php/' + this._actionName + '/?t=' + SECURITY_TOKEN + SID_ARG_2ND
});
this._api = $dialog.data('wcfDialog');
<script type="text/javascript">
//<![CDATA[
$(function() {
- var packageInstallation = new WCF.ACP.Package.Installation('install', {@$queueID}, true);
+ WCF.Language.add('wcf.acp.package.installation.title', '{lang}wcf.acp.package.installation.title{/lang}');
+ new WCF.ACP.Package.Installation('install', {@$queueID}, true);
});
//]]>
</script>
<script type="text/javascript">
//<![CDATA[
- $installation = new WCF.ACP.Package.Installation('install', {@$queueID}, false);
- $installation.prepareInstallation();
+ $(function() {
+ WCF.Language.add('wcf.acp.package.installation.title', '{lang}wcf.acp.package.installation.title{/lang}');
+
+ var $installation = new WCF.ACP.Package.Installation('install', {@$queueID}, false);
+ $installation.prepareInstallation();
+ });
//]]>
</script>