section page added
This commit is contained in:
1 parent
5a6541a592
commit
25ca29403c
5 files changed
+36
-11
No files matched your search
@@ -335,9 +335,28 @@ var orbitDesktop = function(dom){
|
||||
o.currenthtml = target;
|
||||
o.currentface = "settings";
|
||||
var bindHandlers = function(){
|
||||
|
||||
$("ul#setting_left_nav li a").click(function(){
|
||||
var tfunc = $(this).attr("href");
|
||||
switch(tfunc){
|
||||
case "themes":
|
||||
themes();
|
||||
break;
|
||||
case "sections":
|
||||
sections();
|
||||
break;
|
||||
}
|
||||
})
|
||||
}
|
||||
var loadThemePage = function(){
|
||||
var sections = function(){
|
||||
var bindHandlers = function(){
|
||||
|
||||
}
|
||||
$("div#panel_r").load("/desktop/settingsections",function(){
|
||||
bindHandlers();
|
||||
})
|
||||
|
||||
}
|
||||
var themes = function(){
|
||||
var bindHandlers = function(){
|
||||
$(".theme_list > li").click(function(){
|
||||
o.changeTheme($(this).find('.theme_name').text());
|
||||
@@ -379,13 +398,14 @@ var orbitDesktop = function(dom){
|
||||
});
|
||||
|
||||
}
|
||||
$("div#panel_r").load("/desktop/settingthemes/",function(){
|
||||
$("div#panel_r").load("/desktop/settingthemes",function(){
|
||||
bindHandlers();
|
||||
})
|
||||
}
|
||||
|
||||
$(o.contentHolder).empty().load("/desktop/"+target,function(){
|
||||
loadThemePage();
|
||||
bindHandlers();
|
||||
sections();
|
||||
});
|
||||
};
|
||||
this.loadWallpaper = function(wallpaper){
|
||||
|
||||
Reference in new issue
Block a user