Skip to content
This repository has been archived by the owner on Nov 23, 2017. It is now read-only.

Commit

Permalink
fixed some other minor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Klaus Großmann committed Jul 16, 2015
1 parent ef45cd8 commit 6aa45b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions master/public/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
});
Expand Down

0 comments on commit 6aa45b8

Please sign in to comment.