Commit 427933aa authored by Rémi Duraffort's avatar Rémi Duraffort

Lua_http: really fix the issue when trying to load some sd.

parent 8ffc1871
...@@ -83,7 +83,7 @@ This dialog needs the following dialogs to be fully functional: <none> ...@@ -83,7 +83,7 @@ This dialog needs the following dialogs to be fully functional: <none>
<?vlc <?vlc
local sd = vlc.sd.get_services_names() local sd = vlc.sd.get_services_names()
for n,ln in pairs(sd) do for n,ln in pairs(sd) do
print([[<button onclick="pl_sd(']]..n..[[');hide_menu('menu_sd');" onmouseover="setclass(this,'menuover');" onmouseout="setclass(this,'menuout');" class="menuout" title="Toggle ]]..ln..[[" >]]..ln..[[</button><br/>]]) print([[<button class="menuout" onclick='pl_sd("]]..vlc.strings.encode_uri_component(n)..[[");hide_menu("menu_sd");' onmouseover="setclass(this,'menuover');" onmouseout="setclass(this,'menuout');" class="menuout" title="Toggle ]]..ln..[[" >]]..ln..[[</button><br/>]])
end end
?> ?>
</div> </div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment