From ed01087e8501a6858660a7b4e7511fc6dd35a7ca Mon Sep 17 00:00:00 2001 From: chrono Date: Sun, 24 Nov 2013 18:01:48 +0100 Subject: [PATCH] Damn plural... --- public/index.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index 44a6614..8dd58f4 100644 --- a/public/index.html +++ b/public/index.html @@ -219,8 +219,11 @@ function updateProgress(percentage){ function runTask() { var test = { "cmd": "RUN", - "profile": profile[selected_profile] + "profile": profiles[selected_profile] } + + console.log(JSON.stringify(test)); + ws_control.send(JSON.stringify(test)); }