CC-2431:Clendar shrinking issue

-fixed
This commit is contained in:
james 2011-06-27 17:32:54 -04:00
parent d88f2467b1
commit 11af81133c
2 changed files with 2 additions and 7 deletions

View File

@ -248,10 +248,7 @@ function setAddShowEvents() {
event.stopPropagation();
event.preventDefault();
var y = $("#schedule_calendar").width();
var z = $("#schedule-add-show").width();
$("#schedule_calendar").width(y+z+50)
$("#schedule_calendar").removeAttr("style")
.fullCalendar('render');
$("#add-show-form").hide();

View File

@ -13,9 +13,7 @@ function openAddShowForm() {
if($("#add-show-form").length == 1) {
if( ($("#add-show-form").css('display')=='none')) {
$("#add-show-form").show();
var y = $("#schedule_calendar").width();
var z = $("#schedule-add-show").width();
$("#schedule_calendar").width(y-z-50);
$("#schedule_calendar").css("width", "70%");
$("#schedule_calendar").fullCalendar('render');
}
$("#schedule-show-what").show(0, function(){