lua http: fix QR Code path separator (fix #8384)
authorFrancois Cartegnie <fcvlcdev@free.fr>
Sat, 13 Apr 2013 12:16:59 +0000 (14:16 +0200)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Sat, 13 Apr 2013 12:17:13 +0000 (14:17 +0200)
share/lua/http/js/ui.js

index a1f88c8..a404ef0 100644 (file)
@@ -100,7 +100,7 @@ $(function () {
         {
              return true;
         }
-        var urlimg = location.href + '/mobile.html';
+        var urlimg = location.href + 'mobile.html';
         var codeimg = $('<img width="350" height="350" alt="qrcode"/>');
         codeimg.attr('src', 'http://chart.apis.google.com/chart?cht=qr&chs=350x350&chld=L&choe=UTF-8&chl=' + encodeURIComponent(urlimg));
         codeimg.dialog({width: 350, height: 350, title: 'QR-Code'});