calendar js minor update

This commit is contained in:
devin 2012-11-21 11:16:23 +08:00
parent be850ce0be
commit 2cc1ed1db7
1 changed files with 3 additions and 1 deletions

View File

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