fix for +show button appearing when it shouldn't when changing time resolution.

This commit is contained in:
naomiaro 2011-02-10 22:07:13 -05:00
parent 1b705939a2
commit 8cb91726f7
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ function viewDisplay( view ) {
}
if(($("#add-show-form").length == 1) && ($('.fc-header-left tbody td').length == 5)) {
if(($("#add-show-form").length == 1) && ($("#add-show-form").css('display')=='none') && ($('.fc-header-left tbody td').length == 5)) {
makeAddShowButton();
}
}