Main Content Dissapears in IE8

Permalink
Hey, ran into a pretty big problem.

Whenever I view a page in edit mode (or even whenever I'm logged in but not in edit mode) my main content section dissapears and the rest of the page does not display (just like when theres a error in some php code or something).

Everything displays fine in firefox.

I have found that there is a snippet of code that shows up which also is the point from which no more content loads. Here it is

<script>
ccm_activateFileSelectors();
ccm_activateFileManager();
</script>

This comes right at the end of a calendar block which is in edit mode.

Anyone have any ideas? This is my last issue before releasing this website but it is pretttty major haha...

Thanks

Patrick

patmanh
 
patmanh replied on at Permalink Reply
patmanh
It is indeed the calendar block which is causing this, it is in agenda mode.

I have also tried adding different types of blocks in the same place and no issues, so it is definetly the calendar block.
MPakzad replied on at Permalink Reply
I am having a similar problem.
I have edited my site using firefox and I cant view it in IE. to fix the problem I have to redo my work in IE to show it. Also the bottom of the website is gone too (the copyright and link to admin page).
Any solution?
ryan replied on at Permalink Reply
ryan
So, I'm still working on the other ie8 issues (events stacking up in agenda view when scrolling)
But this one is fixed by:

changing from:
<script>
  ccm_activateFileSelectors();
  ccm_activateFileManager();
</script>


to:
<script language="javascript">
$(document).ready(function() {
   ccm_activateFileSelectors();
   ccm_activateFileManager();
});
</script>


in: /packages/calendar/elements/add_event_overlay.php down at the bottom

Basically this code was running before the document was fully built & that was causing ie8 to complain, adding the document.ready makes it wait until... the document is ready.
ryan replied on at Permalink Reply
ryan
I just posted a new version (1.1.1). You can updgrade by downloading the zip file manually and overwriting your files in /packages/calendar with the files contained in the zip.