Fixed a bunch of annoying/major graphical issues with the calendar
* Fixed a bug where the calendar would keep shrinking smaller and smaller as you resized the window. * Fixed the size and alignment of the time span combobox in the corner, which fixes a bug where the text was cut off. * Fixed a bug where the schedule header would grow as you flipped to the next or previous week. * Dropped javascript from the resizing of the calendar (for the most part).
This commit is contained in:
parent
15370702a4
commit
f16d8ca2ea
5 changed files with 66 additions and 25 deletions
|
@ -8,6 +8,7 @@ function openAddShowForm() {
|
|||
if($("#add-show-form").length == 1) {
|
||||
if( ($("#add-show-form").css('display')=='none')) {
|
||||
$("#add-show-form").show();
|
||||
/*
|
||||
var windowWidth = $(window).width();
|
||||
// margin on showform are 16 px on each side
|
||||
var calendarWidth = 100-(($("#schedule-add-show").width() + (16 * 4))/windowWidth*100);
|
||||
|
@ -18,6 +19,8 @@ function openAddShowForm() {
|
|||
// this calculation was copied from schedule.js line 326
|
||||
var mainHeight = document.documentElement.clientHeight - 200 - 50;
|
||||
$('#schedule_calendar').fullCalendar('option', 'contentHeight', mainHeight);
|
||||
*/
|
||||
windowResize();
|
||||
}
|
||||
$("#schedule-show-what").show(0, function(){
|
||||
$add_show_name = $("#add_show_name");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue