Themes from db fixed..
This commit is contained in:
1 parent
8c42f6bb7c
commit
670ec2a40e
5 files changed
+12
-15
No files matched your search
@@ -178,9 +178,7 @@ var orbitDesktop = function(dom){
|
||||
})
|
||||
newpostitions.push(groupone);
|
||||
});
|
||||
$.post("/desktop/newpositions",{"sectionid":o.sectionId,"newpos":newpostitions,"groupids":groupids},function(){
|
||||
|
||||
})
|
||||
$.post("/desktop/newpositions",{"sectionid":o.sectionId,"newpos":newpostitions,"groupids":groupids})
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -268,7 +266,7 @@ var orbitDesktop = function(dom){
|
||||
$("div#desktop ul#section_list").empty();
|
||||
$.each(o.sectionList,function(i,section){
|
||||
var tempstyle="";
|
||||
if(i==0){
|
||||
if(section._id==o.sectionId){
|
||||
tempstyle = "style='display:none;'";
|
||||
$("div#desktop span#section_heading").text(section.name);
|
||||
}
|
||||
@@ -507,8 +505,9 @@ var orbitDesktop = function(dom){
|
||||
})
|
||||
$.post("/desktop/save_desktop_settings",{"save":"desktopnames","desktopid":o.desktopId,"desktopnms":desktopnm},function(result,status){
|
||||
if(status=="success"){
|
||||
if(result[0].success=="true")
|
||||
if(result[0].success=="true"){
|
||||
o.notify("Names Saved!!","success",2);
|
||||
}
|
||||
else
|
||||
o.notify("Name saving failed!!","imp",2);
|
||||
}else{
|
||||
|
||||
Reference in new issue
Block a user