[vlc-commits] web intf: make playlist start opened

Francois Cartegnie git at videolan.org
Wed Sep 21 12:41:12 CEST 2011


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Sep 21 12:39:43 2011 +0200| [7d3dbfacc88c15d5d2bb66ef963992c9fb11aa71] | committer: Francois Cartegnie

web intf: make playlist start opened

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7d3dbfacc88c15d5d2bb66ef963992c9fb11aa71
---

 share/lua/http/js/controlers.js |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/share/lua/http/js/controlers.js b/share/lua/http/js/controlers.js
index 84ad35a..105a8a5 100644
--- a/share/lua/http/js/controlers.js
+++ b/share/lua/http/js/controlers.js
@@ -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(){



More information about the vlc-commits mailing list