From 2cc1ed1db7c63d735ad2a28ea3aa0d6252e27072 Mon Sep 17 00:00:00 2001 From: devin Date: Wed, 21 Nov 2012 11:16:23 +0800 Subject: [PATCH] calendar js minor update --- .../calendar/app/assets/javascripts/calendarAPI.js.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vendor/built_in_modules/calendar/app/assets/javascripts/calendarAPI.js.erb b/vendor/built_in_modules/calendar/app/assets/javascripts/calendarAPI.js.erb index a1ab3b6c..0f9923ca 100644 --- a/vendor/built_in_modules/calendar/app/assets/javascripts/calendarAPI.js.erb +++ b/vendor/built_in_modules/calendar/app/assets/javascripts/calendarAPI.js.erb @@ -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){