]> git.sesse.net Git - vlc/commitdiff
web intf: make playlist start opened
authorFrancois Cartegnie <fcvlcdev@free.fr>
Wed, 21 Sep 2011 10:39:43 +0000 (12:39 +0200)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Wed, 21 Sep 2011 10:40:30 +0000 (12:40 +0200)
share/lua/http/js/controlers.js

index 84ad35a285b735f31c0d4d4a272727711c54caae..105a8a59bd9114c9d8c94a27f315a1f6bc7532c5 100644 (file)
@@ -432,6 +432,9 @@ $(function(){
                "themeroller":{
                        "item_leaf":"ui-icon-video"
                },
+               "core" :{
+                       "initially_open": ["plid_1","plid_2","plid_3"]
+               },
                "plugins" : ["xml_data","ui","themeroller"]
        }).bind("loaded.jstree", function (event, data) {
                $('[current]','[id^="plid_"]').each(function(){