From b32a906e09ea91c3fcacd80feb46d85eef36aa74 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 10 Nov 2012 18:48:29 +0100 Subject: [PATCH] Fixed WCFSetup --- wcfsetup/install/files/acp/js/WCF.ACP.js | 10 +++++----- .../files/acp/templates/packageInstallationSetup.tpl | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wcfsetup/install/files/acp/js/WCF.ACP.js b/wcfsetup/install/files/acp/js/WCF.ACP.js index 1400f62cf4..6472603f37 100644 --- a/wcfsetup/install/files/acp/js/WCF.ACP.js +++ b/wcfsetup/install/files/acp/js/WCF.ACP.js @@ -363,7 +363,7 @@ WCF.ACP.Package.Installation = Class.extend({ * Initializes the package installation. */ _init: function() { - $('#submitButton').click($.proxy(this._prepareInstallation, this)); + $('#submitButton').click($.proxy(this.prepareInstallation, this)); }, /** @@ -383,7 +383,7 @@ WCF.ACP.Package.Installation = Class.extend({ /** * Prepares installation dialog. */ - _prepareInstallation: function() { + prepareInstallation: function() { WCF.showAJAXDialog('packageInstallationDialog', true, { ajax: true, closable: false, @@ -462,7 +462,7 @@ WCF.ACP.Package.Installation = Class.extend({ var self = this; $('#packageInstallationInnerContent').html(data.innerTemplate).find('input').keyup(function(event) { if (event.keyCode === 13) { // Enter - self._submitDialog(data); + self._submit(data); } }); @@ -497,7 +497,7 @@ WCF.ACP.Package.Installation = Class.extend({ * * @param object data */ - _submitDialog: function(data) { + _submit: function(data) { // collect form values var $additionalData = {}; $('#packageInstallationInnerContent input').each(function(index, inputElement) { @@ -607,7 +607,7 @@ WCF.ACP.Package.Uninstallation = WCF.ACP.Package.Installation.extend({ WCF.System.Confirmation.show($element.data('confirmMessage'), function(action) { if (action === 'confirm') { self._packageID = $element.data('objectID'); - self._prepareInstallation(); + self.prepareInstallation(); } }); }, diff --git a/wcfsetup/install/files/acp/templates/packageInstallationSetup.tpl b/wcfsetup/install/files/acp/templates/packageInstallationSetup.tpl index 435ba871c0..6fd157edd2 100644 --- a/wcfsetup/install/files/acp/templates/packageInstallationSetup.tpl +++ b/wcfsetup/install/files/acp/templates/packageInstallationSetup.tpl @@ -5,7 +5,7 @@ $(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); + var $installation = new WCF.ACP.Package.Installation({@$queueID}); $installation.prepareInstallation(); }); //]]> -- 2.20.1