diff options
author | TheTroll <trolldev@gmail.com> | 2010-03-17 19:06:13 +0100 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-03-17 19:06:13 +0100 |
commit | 0288e7e23ea7aea31727780b6cfebb0baab87abc (patch) | |
tree | ae85dc2ea0ec2ced6ec4f26691212ce16f49980a /js/istreamdev.js | |
parent | 6d3e8f33022129106ace66b97407bd66c02205c4 (diff) | |
download | istreamdev-0288e7e23ea7aea31727780b6cfebb0baab87abc.tar.gz istreamdev-0288e7e23ea7aea31727780b6cfebb0baab87abc.tar.bz2 |
Fixed subdirs browing and rec info
Diffstat (limited to 'js/istreamdev.js')
-rw-r--r-- | js/istreamdev.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/istreamdev.js b/js/istreamdev.js index ae823d1..196d9eb 100644 --- a/js/istreamdev.js +++ b/js/istreamdev.js @@ -309,7 +309,7 @@ function gen_streamchannel(channame,channumber) { }
function gen_streamrec(folder,path) {
- var dataString = "action=getRecInfo&rec=" + encodeURIComponent(path) + encodeURIComponent(folder);
+ var dataString = "action=getRecInfo&rec=" + encodeURIComponent(path) + "/" + encodeURIComponent(folder);
//Json call to get rec info
$.getJSON("bin/backend.php",
dataString,
@@ -327,7 +327,7 @@ function gen_streamrec(folder,path) { }
function gen_streamvid(filename,path) {
- var dataString = "action=getVidInfo&file=" + encodeURIComponent(path) + encodeURIComponent(filename);
+ var dataString = "action=getVidInfo&file=" + encodeURIComponent(path) + "/" + encodeURIComponent(filename);
//Json call to get rec info
$.getJSON("bin/backend.php",
dataString,
@@ -484,7 +484,7 @@ $('ul[rel="filelist"] li[class="arrow"] a').tap(function(event) { browser++;
if ( type == "folder" )
{
- newpath=path+name;
+ newpath=path+"/"+name;
gen_browser(newpath,browser,name,foldertype);
}
else if ( type == "rec" )
@@ -831,4 +831,4 @@ function epg_selectchan() { alert(selectedchan);
}
-// [/EPG SECTION]
\ No newline at end of file +// [/EPG SECTION]
|