diff --git a/app/assets/Archive/javascripts/orbitdesktop.js b/app/assets/Archive/javascripts/orbitdesktop.js index 06cf3c04..c63432ef 100755 --- a/app/assets/Archive/javascripts/orbitdesktop.js +++ b/app/assets/Archive/javascripts/orbitdesktop.js @@ -927,16 +927,16 @@ var orbitDesktop = function(dom){ sectionids.push(sec.id); }) - $appinfolist.find("li:eq(0)").empty(); + $appinfolist.find("[info=section_activation]").empty(); $.each(o.sectionList,function(i,sec){ var present = $.inArray(sec._id,sectionids); if(present == -1){ - $sectionswitch = $('
Off
'); + $sectionswitch = $('
Off
'); }else{ - $sectionswitch = $('
On
'); + $sectionswitch = $('
On
'); } - $appinfolist.find("li:eq(0)").append($sectionswitch); + $appinfolist.find("[info=section_activation]").append($sectionswitch); }) $appinfo.show(); o.simple_switch(function(dom){ @@ -983,7 +983,7 @@ var orbitDesktop = function(dom){ var $app; count++; elementSettingsData[app.id] = {"sections" : app.sections}; - $app = $('

'+app.title+'

'); + $app = $('

'+app.title+'

'); if( count > 4 ){ count = 1, colindex+=1; $('#app_list').append('
'); diff --git a/app/assets/Archive/stylesheets/desktop/desktop-main.css b/app/assets/Archive/stylesheets/desktop/desktop-main.css index 80a587e8..f1d42a54 100644 --- a/app/assets/Archive/stylesheets/desktop/desktop-main.css +++ b/app/assets/Archive/stylesheets/desktop/desktop-main.css @@ -604,7 +604,6 @@ a.admtxt.admbg2:hover { width: 420px; height: 516px; margin-right: 36px; } - #app_info .app_info_header { height: 120px; margin: -12px -12px 12px -12px; diff --git a/app/views/desktop/app_manager.html.erb b/app/views/desktop/app_manager.html.erb index 44d199cc..335ab79f 100644 --- a/app/views/desktop/app_manager.html.erb +++ b/app/views/desktop/app_manager.html.erb @@ -25,13 +25,8 @@