|
Index | Recent Threads | Register | |
![]() |
Forums » List all forums » Forum: Known Problems » Thread: Calendar Down |
Total posts in this thread: 6 |
[Change thread status]
[Delete this Thread]
[Move this Thread] [Add To My Favorites] [Watch this Thread] [Post new Thread] |
Author |
|
scrantoncc
New Member
|
Calendar will not show up on my site ... just noticed it this morning ... |
||
|
johnbosco
New Member
|
There appears to be an incorrectly terminated literal string: *Incorrect string* -- document.write("<script>function toggleCalendar(id){$(".cal_"+id).toggle();}</script> *Correct string* -- document.write("<script>function toggleCalendar(id){$(".cal_"+id).toggle()</script>"}; JB |
||
|
scrantoncc
New Member
|
I'm not finding that to be the answer. We've had this up for months and the code hasn't been touched ... like others on the additional down calendar posts ... it just went down last night/ this morning .... |
||
|
johnbosco
New Member
|
Hi. From looking at LoCalendar's "Common.js" file, there appears to be an issue with line 4769 and the termination of that literal string. My previous post quoting my version of a correct string was in fact incorrect (my bad, it's been a long day and I didn't review it properly). As far as I can tell, a working line 4769 string is as follows: document.write("<script>function toggleCalendar(id){$(".cal_"+id).toggle()}</script>"); The incorrectly terminated string on line 4769 within file "Common.js" is as follows: document.write("<script>function toggleCalendar(id){$(".cal_"+id).toggle();}</script> Maybe I'm completely wrong in this, but when I take a local copy of "Common.js" and edit using my 1st string above, I see my embedded calendar rendered, whereas with the 2nd string above, I receive a blank screen. - JB |
||
|
scrantoncc
New Member
|
We're back up. Thank you |
||
|
support
localendar Expert ![]() Joined: Aug 9, 2022 Posts: 6438 Status: Offline |
Please see http://www.localendar.com/lcf/lcforums/viewthread?thread=8456&c=9 for an update. Thanks for folks posting suggestions; I should point out that a lot of our js is dynamically generated (eg common.js), so the problem was a little deeper. ---------------------------------------- Marc Higgins Support Associate, localendar.com Follow us on Twitter! http://www.twitter.com/localendar_news |
||
|
[Show Thread Printable Version] [Post new Thread] |
Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us |