Fix error in javascript "playlist xml" -> html routine which messed up display of...
authorAntoine Cellerier <dionoea@videolan.org>
Tue, 13 Nov 2007 21:20:56 +0000 (21:20 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Tue, 13 Nov 2007 21:20:56 +0000 (21:20 +0000)
share/http-lua/js/functions.js
share/http/js/functions.js

index fc2e122..d9e5e5b 100644 (file)
@@ -643,6 +643,7 @@ function parse_playlist()
                     {
                         elt = elt.parentNode;
                         if( ! elt.parentNode ) break;
                     {
                         elt = elt.parentNode;
                         if( ! elt.parentNode ) break;
+                        pos = pos.parentNode;
                     }
                     if( ! elt.parentNode ) break;
                     elt = elt.parentNode.nextSibling;
                     }
                     if( ! elt.parentNode ) break;
                     elt = elt.parentNode.nextSibling;
index fb8c3c5..0668d9a 100644 (file)
@@ -630,6 +630,7 @@ function parse_playlist()
                     {
                         elt = elt.parentNode;
                         if( ! elt.parentNode ) break;
                     {
                         elt = elt.parentNode;
                         if( ! elt.parentNode ) break;
+                        pos = pos.parentNode;
                     }
                     if( ! elt.parentNode ) break;
                     elt = elt.parentNode.nextSibling;
                     }
                     if( ! elt.parentNode ) break;
                     elt = elt.parentNode.nextSibling;