theme setting update
This commit is contained in:
parent
0219c3df28
commit
1fabe3d8f7
|
@ -176,9 +176,10 @@ var orbitDesktop = function(dom){
|
||||||
o.initializeWidgets();
|
o.initializeWidgets();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
this.tempFunc = function(){
|
this.tempFunc = function(th){
|
||||||
//o.notify("This is test notification!!","alert",2)
|
//o.notify("This is test notification!!","alert",2)
|
||||||
$.post("/desktop/save_desktop_settings",{"id":o.desktopId,"theme":$('.theme_name').text()},function(){
|
console.log(th);
|
||||||
|
$.post("/desktop/save_desktop_settings",{"id":o.desktopId,"theme":th},function(){
|
||||||
o.notify("Settings Saved!!","success");
|
o.notify("Settings Saved!!","success");
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -304,7 +305,7 @@ var orbitDesktop = function(dom){
|
||||||
.data('clicked',true)
|
.data('clicked',true)
|
||||||
.find('.theme_name')
|
.find('.theme_name')
|
||||||
.addClass('thmtxt');
|
.addClass('thmtxt');
|
||||||
od.tempFunc();
|
od.tempFunc($(this).text());
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.tinycanvas').each(function(){
|
$('.tinycanvas').each(function(){
|
||||||
|
|
Reference in New Issue