summaryrefslogtreecommitdiffstats
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rw-r--r--script/install.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/script/install.js b/script/install.js
index a85f869c..9738f1a2 100644
--- a/script/install.js
+++ b/script/install.js
@@ -77,7 +77,7 @@ var slxTrigger = function (elem, moduleName) {
//alert('always: ' + moduleName + ', status: ' + slxModules[moduleName] + ', current: ' + slxCurrent);
if (slxModules[moduleName] === 'WORKING') {
slxModules[moduleName] = 'UPDATE_FAILED';
- $('#mod-' + moduleName).text('UPDATE_FAILED (No response from server)');
+ $('#mod-' + moduleName).text('UPDATE_FAILED (No response from server)').css('color', '#c00');
}
if (slxCurrent === moduleName) {
slxCurrent = false;
@@ -112,7 +112,9 @@ function slxRunNext(lastModule) {
slxRun(next);
} else {
slxCancelTimer();
- alert('Done.');
+ setTimeout(function() {
+ alert('Done.');
+ }, 10);
}
}