Distinct class name for the "Search for Updates" button
authorAlexander Ebert <ebert@woltlab.com>
Mon, 3 Feb 2020 19:06:10 +0000 (20:06 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 3 Feb 2020 19:06:10 +0000 (20:06 +0100)
wcfsetup/install/files/acp/js/WCF.ACP.js

index a60e52da7ce430a01731e2f829ef50156ce16343..81a20a34536a3b697baa31edb52a28af15f616ca 100644 (file)
@@ -996,7 +996,7 @@ WCF.ACP.Package.Update.Search = Class.extend({
                        $('.jsButtonPackageUpdate').click($.proxy(this._click, this));
                }
                else {
-                       var $button = $('<li><a class="button"><span class="icon icon16 fa-refresh"></span> <span>' + WCF.Language.get('wcf.acp.package.searchForUpdates') + '</span></a></li>');
+                       var $button = $('<li><a class="button jsButtonSearchForUpdates"><span class="icon icon16 fa-refresh"></span> <span>' + WCF.Language.get('wcf.acp.package.searchForUpdates') + '</span></a></li>');
                        $button.click(this._click.bind(this)).prependTo($('.contentHeaderNavigation > ul'));
                }
        },