fix loading Section page for Chrome

This commit is contained in:
devin chen authored and Matt K. Fu committed 2013-06-18 15:57:08 +08:00
1 parent 6e9effdb9f
commit 1b5d099fda
1 file changed
+1 -4
+1 -4
View File
@@ -827,8 +827,6 @@ var orbitDesktop = function(dom){
});
}
if(cache){
bindHandlers();
o.initializeWidgets();
$("#desktop #section_list").empty();
$.each(o.sectionList,function(i,section){
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>'));
});
bindSecondaryHandlers();
o.simple_drop_down();
loadTiles(o.sectionId);
}else{
loadSectionList();
loadTiles(o.sectionId);