From 493b2ce8bcde8609f51c9c755dec6bf8b366059e Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 1 Dec 2017 15:07:20 +0100 Subject: add another button at the top --- install.php | 5 ++++- script/install.js | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/install.php b/install.php index b736713f..a5d18f0c 100644 --- a/install.php +++ b/install.php @@ -343,6 +343,9 @@ if (DIRECT_MODE) {

Modules

+ +
+
HERE; @@ -353,7 +356,7 @@ HERE; echo <<

- + diff --git a/script/install.js b/script/install.js index 9738f1a2..abb76d6f 100644 --- a/script/install.js +++ b/script/install.js @@ -4,11 +4,11 @@ var slxTries = {}; var slxCurrent = false; var slxTimer = false; -function slxRunInstall(btn) { +function slxRunInstall() { if (onceOnlyGoddammit) return; - $(btn).prop('disabled', true); onceOnlyGoddammit = true; + $('.install-btn').prop('disabled', true); var first = false; list = $('.id-col').each(function () { var id = $(this).text(); -- cgit v1.2.3-55-g7522
ModuleStatus