with connection and some save settings…

This commit is contained in:
Harry Bomrah committed 2012-04-26 21:30:13 +08:00
1 parent c2ac682787
commit c158375d02
13 files changed
+90 -1

No files matched your search

+14
View File
@@ -481,6 +481,9 @@ var orbitDesktop = function(dom){
case "sections":
sections();
break;
case "connection":
connection();
break;
}
$("div#settings ul#setting_left_nav li a").removeClass('thmc1 thmtxt').data('clicked',null);
$(this).addClass('thmc1 thmtxt').data('clicked',true);
@@ -684,6 +687,7 @@ var orbitDesktop = function(dom){
$(this).miniColors("value", o.rgb2hex(color));
});
}
$("div#settings div#panel_r").load("/desktop/settingthemes",function(){
$.getJSON("/desktop/get_desktop_settings",{"get":"theme","desktopid":o.desktopId},function(theme){
$('#st1 .theme_list [id='+theme+']')
@@ -696,6 +700,16 @@ var orbitDesktop = function(dom){
})
})
}
var connection = function(){
var bindHandlers = function(){
}
$("div#settings div#panel_r").load("/desktop/settingconnection",function(){
bindHandlers();
})
}
$(o.contentHolder).empty().load("/desktop/"+target,function(){
bindHandlers();