From 6aa45b8e4349347e6c406a48f488a0e9334a6f4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20Gro=C3=9Fmann?= Date: Thu, 16 Jul 2015 17:26:32 +0200 Subject: [PATCH] fixed some other minor issues --- master/public/js/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/master/public/js/index.js b/master/public/js/index.js index 78d9445..b38231a 100644 --- a/master/public/js/index.js +++ b/master/public/js/index.js @@ -196,7 +196,7 @@ $(function () { submitValues.id = item.value; break; case 'panicUrl': - panicUrl = item.panicUrl; + panicUrl = item.value; break; case 'on': submitValues.schedules.on.push(item.value); @@ -210,7 +210,7 @@ $(function () { $clients.each(function () { var $client = $(this); - var data = {id: $client.data('id')}; + var data = {id: $client.attr('client')}; data['panicUrl'] = panicUrl; socket.emit(socketEvents.CLIENT_CHANGEPANICURL, data); });