Package installation should be fixed now
authorAlexander Ebert <ebert@woltlab.com>
Fri, 25 Nov 2011 12:49:32 +0000 (13:49 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 25 Nov 2011 12:49:32 +0000 (13:49 +0100)
wcfsetup/install/files/acp/js/WCF.ACP.js
wcfsetup/install/files/js/WCF.js

index 3e2b319f858935f70b06c9a26bd170da8caea216..3222d00989908672d68370fa0a444c070c067b22 100644 (file)
@@ -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');
                }
index 32ff80ffcd8ff830cf8377ebe08263df6b93fbe1..db2f572ba138407e2633f666ab31c905c06a23e0 100644 (file)
@@ -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 = $('<li><span>' + $editor.label + '</span></li>').appendTo($list).click(function(event) {
-                               $(event.target).next().toggle();
+                               $(event.target).next().toggleClass('open');
                        });
                        var $itemList = $('<ol></ol>').appendTo($label).hide();