From 2699eecff7856183c6f0ef45a5e1eab2cf92d6e0 Mon Sep 17 00:00:00 2001 From: Alib Date: Wed, 17 Mar 2010 11:48:44 +0100 Subject: fixed sending mode to startbroadcast --- js/istreamdev.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/istreamdev.js b/js/istreamdev.js index 4fd86c8..0a70ebd 100644 --- a/js/istreamdev.js +++ b/js/istreamdev.js @@ -188,7 +188,7 @@ $('#streamchannel span.streamButton a').tap(function(event) { json_start(this); var type = $("#streamchannel").find('span[rel="type"]').html(); var url = $("#streamchannel").find('span[rel="url"]').html(); - var mode = $(this).attr('rel'); + var mode = $(this).attr('id'); start_broadcast(type,url,mode); return false; }); @@ -197,7 +197,7 @@ $('#streamrec span.streamButton a').tap(function(event) { json_start(this); var type = $("#streamrec").find('span[rel="type"]').html(); var url = $("#streamrec").find('span[rel="url"]').html(); - var mode = $(this).attr('rel'); + var mode = $(this).attr('id'); start_broadcast(type,url,mode); return false; }); @@ -206,7 +206,7 @@ $('#streamvid span.streamButton a').tap(function(event) { json_start(this); var type = $("#streamvid").find('span[rel="type"]').html(); var url = $("#streamvid").find('span[rel="url"]').html(); - var mode = $(this).attr('rel'); + var mode = $(this).attr('id'); start_broadcast(type,url,mode); return false; }); -- cgit v1.2.3