aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorjmarshallnz <jmarshallnz@svn>2010-07-25 02:49:14 +0000
committerjmarshallnz <jmarshallnz@svn>2010-07-25 02:49:14 +0000
commite2e13ef458a514c1be9c02d3a896077bee139747 (patch)
tree5e016c2e84d86c5d00174cb9502eeacc1b29bc45 /web
parentb80f804e77da9d20499a95298a1f3043547c7ec6 (diff)
fixed: Ticket #9724 - Additional path fixes to poc_jsonrpc, thanks to Malard.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@32148 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'web')
-rw-r--r--web/poc_jsonrpc/albums.html2
-rw-r--r--web/poc_jsonrpc/nowplaying.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/web/poc_jsonrpc/albums.html b/web/poc_jsonrpc/albums.html
index 09fd8cd7c9..2a39fb44e6 100644
--- a/web/poc_jsonrpc/albums.html
+++ b/web/poc_jsonrpc/albums.html
@@ -43,7 +43,7 @@ var array = result["albums"];
for (var property in array) {
var item = array[property];
document.write('<a href="nowplaying.html" onclick=CallPlay(' + item["albumid"] + ')>');
- var imgSrc = item["thumbnail"] ? ('vfs/' + escape(item["thumbnail"])) : "images/DefaultAlbumCover.png";
+ var imgSrc = item["thumbnail"] ? ('/vfs/' + escape(item["thumbnail"])) : "images/DefaultAlbumCover.png";
document.write('<img src="' + imgSrc + '" width=100 alt="' + item["album"] + '"></img>');
document.write('</a>');
}
diff --git a/web/poc_jsonrpc/nowplaying.html b/web/poc_jsonrpc/nowplaying.html
index c7f6149ac0..a1a3213d07 100644
--- a/web/poc_jsonrpc/nowplaying.html
+++ b/web/poc_jsonrpc/nowplaying.html
@@ -59,7 +59,7 @@ if (players["video"] || players["audio"]) {
var array = result["items"];
if (activeItem >= 0) {
- var imgSrc = array[activeItem]["thumbnail"] ? ('vfs/' + escape(array[activeItem]["thumbnail"])) : "images/DefaultAlbumCover.png";
+ var imgSrc = array[activeItem]["thumbnail"] ? ('/vfs/' + escape(array[activeItem]["thumbnail"])) : "images/DefaultAlbumCover.png";
document.write('<img src="' + imgSrc + '"></img>');
document.write('<br></br>');