summaryrefslogtreecommitdiff
path: root/js/istreamdev.js
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-03-17 11:48:44 +0100
committerAlib <aliboba@free.fr>2010-03-17 11:48:44 +0100
commit2699eecff7856183c6f0ef45a5e1eab2cf92d6e0 (patch)
tree19fd48790091cb929d2f64548e9c033a5cedc213 /js/istreamdev.js
parent6438cd8b0c064336caeeed57ed544e76cfde9636 (diff)
downloadistreamdev-2699eecff7856183c6f0ef45a5e1eab2cf92d6e0.tar.gz
istreamdev-2699eecff7856183c6f0ef45a5e1eab2cf92d6e0.tar.bz2
fixed sending mode to startbroadcast
Diffstat (limited to 'js/istreamdev.js')
-rw-r--r--js/istreamdev.js6
1 files 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;
});