Unchecking an update will now properly trigger the submit button state
authorAlexander Ebert <ebert@woltlab.com>
Sun, 8 Feb 2015 14:32:30 +0000 (15:32 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 8 Feb 2015 14:32:30 +0000 (15:32 +0100)
wcfsetup/install/files/acp/js/WCF.ACP.js

index ce219c0c9e5eb103883b129ae63448d44de7b6c8..1c43b33bcb2df34339d2dbb43fba8cf0e84e0f31 100644 (file)
@@ -1338,7 +1338,7 @@ WCF.ACP.Package.Server.Installation = Class.extend({
                });
                this._proxy.sendRequest();
        },
-})
+});
 
 /**
  * Namespace for package update related classes.
@@ -1404,6 +1404,9 @@ WCF.ACP.Package.Update.Manager = Class.extend({
                        if (!$('input[type=checkbox]:checked').length) {
                                this._submitButton.disable();
                        }
+                       else {
+                               this._submitButton.enable();
+                       }
                }
        },