*/
init: function(queueID, actionName, allowRollback) {
this._actionName = (actionName) ? actionName : 'InstallPackage';
+ if (this._actionName === 'Setup') {
+ // 'Setup' is an alias for 'InstallPackage' used during WCFSetup
+ this._actionName = 'InstallPackage';
+ }
this._allowRollback = (allowRollback === true) ? true : false;
this._queueID = queueID;
switch (this._actionName) {
case 'InstallPackage':
- if (allowRollback) {
+ if (allowRollback || actionName === 'Setup') {
this._dialogTitle = 'wcf.acp.package.installation.title';
}
else {
$(function() {
WCF.Language.add('wcf.acp.package.installation.title', '{lang}wcf.acp.package.installation.title{/lang}');
- var $installation = new WCF.ACP.Package.Installation({@$queueID});
+ var $installation = new WCF.ACP.Package.Installation({@$queueID}, 'Setup');
$installation.prepareInstallation();
});
//]]>