From: Alexander Ebert Date: Fri, 25 Nov 2011 12:49:32 +0000 (+0100) Subject: Package installation should be fixed now X-Git-Tag: 2.0.0_Beta_1~1458^2~9 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fb08f20f2bc7948c4fadabbb7b3dd60f6004ded0;p=GitHub%2FWoltLab%2FWCF.git Package installation should be fixed now --- diff --git a/wcfsetup/install/files/acp/js/WCF.ACP.js b/wcfsetup/install/files/acp/js/WCF.ACP.js index 3e2b319f85..3222d00989 100644 --- a/wcfsetup/install/files/acp/js/WCF.ACP.js +++ b/wcfsetup/install/files/acp/js/WCF.ACP.js @@ -308,13 +308,14 @@ WCF.ACP.Package.Installation.prototype = { */ prepareInstallation: function() { var $dialog = WCF.showAJAXDialog('packageInstallationDialog', true, { + ajax: true, url: 'index.php/' + this._actionName + '/?t=' + SECURITY_TOKEN + SID_ARG_2ND, data: { queueID: this._queueID, step: 'prepare' }, success: $.proxy(this._handleResponse, this), preventClose: true, hideTitle: true }); - + this._api = $dialog.data('wcfDialog'); }, @@ -325,7 +326,7 @@ WCF.ACP.Package.Installation.prototype = { * @param string textStatus * @param jQuery jqXHR */ - _handleResponse: function(data. textStatus, jqXHR) { + _handleResponse: function(data, textStatus, jqXHR) { if (this._dialog == null) { this._dialog = $('#packageInstallationDialog'); } diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 32ff80ffcd..db2f572ba1 100644 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -446,6 +446,7 @@ $.extend(WCF, { /** * Shows a modal dialog. + * * @param string dialogID * @param boolean moveToBody */ @@ -810,7 +811,7 @@ WCF.Clipboard = { var $editor = data.items[$typeName]; var $label = $('
  • ' + $editor.label + '
  • ').appendTo($list).click(function(event) { - $(event.target).next().toggle(); + $(event.target).next().toggleClass('open'); }); var $itemList = $('
      ').appendTo($label).hide();