fix loading Section page for Chrome

This commit is contained in:
devin chen 2013-05-24 17:26:43 +08:00 committed by saurabhbhatia
parent ff375f0c5c
commit b085e826a5
1 changed files with 1 additions and 4 deletions

View File

@ -827,8 +827,6 @@ var orbitDesktop = function(dom){
}); });
} }
if(cache){ if(cache){
bindHandlers();
o.initializeWidgets();
$("#desktop #section_list").empty(); $("#desktop #section_list").empty();
$.each(o.sectionList,function(i,section){ $.each(o.sectionList,function(i,section){
var tempstyle=""; var tempstyle="";
@ -838,8 +836,7 @@ var orbitDesktop = function(dom){
} }
$("#desktop #section_list").append($('<li class="section_name" '+tempstyle+'><a class="admtxt hp hh1" onclick="return false;" href="'+section._id+'" >'+section.name+'</a></li>')); $("#desktop #section_list").append($('<li class="section_name" '+tempstyle+'><a class="admtxt hp hh1" onclick="return false;" href="'+section._id+'" >'+section.name+'</a></li>'));
}); });
bindSecondaryHandlers(); loadTiles(o.sectionId);
o.simple_drop_down();
}else{ }else{
loadSectionList(); loadSectionList();
loadTiles(o.sectionId); loadTiles(o.sectionId);