summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2020-01-14 14:58:04 +0100
committerSimon Rettberg2020-01-14 14:58:04 +0100
commit087fc1026d9ad302e5626de1420a8f2779dff315 (patch)
treefcc4995e91ba7cb08d43a2dd6f0d863bcd90da81
parent[minilinux] Check for updates on server bootup (diff)
downloadslx-admin-087fc1026d9ad302e5626de1420a8f2779dff315.tar.gz
slx-admin-087fc1026d9ad302e5626de1420a8f2779dff315.tar.xz
slx-admin-087fc1026d9ad302e5626de1420a8f2779dff315.zip
[taskmanager.js] Fix refactored .data access
-rw-r--r--script/taskmanager.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/taskmanager.js b/script/taskmanager.js
index 4be01c5b..dd00f864 100644
--- a/script/taskmanager.js
+++ b/script/taskmanager.js
@@ -128,7 +128,7 @@ function tmResult(data, status)
var log = obj.find('.data-tm-log');
if (log) {
if (!obj.data('tm-log-fail-only') || task.statusCode === "TASK_ERROR") {
- var lKey = obj.data('data-tm-log');
+ var lKey = obj.data('tm-log');
if (task.data && task.data[lKey]) {
log.text(task.data[lKey]).show();
}