calendar js minor update

This commit is contained in:
devin 2012-11-21 11:16:23 +08:00 committed by chris
parent f8692280e5
commit 25a9987f13
1 changed files with 3 additions and 1 deletions

View File

@ -389,7 +389,8 @@ var calendarAPI = function(){
this.loadWeekView = function(week,year){
$("#range_selection").hide();
$("#navigation").show();
$("#sec1").removeClass("span8").addClass("span3");
$("#sec1").removeClass("span7").addClass("span3");
$("#sec3").removeClass("span5").addClass("span4");
$("#sec2").show();
c.view = "week";
if(!week){
@ -514,6 +515,7 @@ var calendarAPI = function(){
$("#range_selection").hide();
$("#navigation").show();
$("#sec1").removeClass("span7").addClass("span3");
$("#sec3").removeClass("span5").addClass("span4");
$("#sec2").show();
c.view = "day";
if(!day){