Msg box added and background image saving complete
This commit is contained in:
1 parent
b4bf81d40a
commit
4bad25e682
6 files changed
+117
-55
No files matched your search
@@ -42,6 +42,7 @@ class DesktopController< ApplicationController
|
||||
case @savewhat
|
||||
when "theme"
|
||||
@desktop.update_attributes(:theme => params["theme"])
|
||||
@desktop.update_attributes(:wallpaper => nil)
|
||||
when "desktopnames"
|
||||
@sections = @desktop.sections
|
||||
x = 0;
|
||||
@@ -64,6 +65,8 @@ class DesktopController< ApplicationController
|
||||
when "customtheme"
|
||||
@desktop.update_attributes(:theme => "custom")
|
||||
@desktop.update_attributes(:customtheme => params['theme'])
|
||||
when "wallpaper"
|
||||
@desktop.update_attributes(:wallpaper => params["wallpapernm"])
|
||||
end
|
||||
a = Array.new
|
||||
a << {"success"=>"true"}
|
||||
|
||||
Reference in new issue
Block a user