Welcome Guest   | Login   
  Search  
  Index |  Recent Threads |  Register | 


Quick Go »
Thread Status: Normal
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
Previous Thread This topic has been viewed 213 times and has 5 replies Next Thread
scrantoncc
New Member



Joined: May 16, 2011
Posts: 12
Status: Offline

Edit this Post   Calendar Down Reply to this Post
Reply with Quote
[Delete this Thread]

Calendar will not show up on my site ... just noticed it this morning ...
[Jan 31, 2012, 1:39:25 PM] [174.54.113.214] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
johnbosco
New Member



Joined: Jan 17, 2012
Posts: 3
Status: Offline

Edit this Post   Re: Calendar Down Reply to this Post
Reply with Quote
[Delete this Post]

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
[Jan 31, 2012, 9:26:03 PM] [83.147.134.101] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
scrantoncc
New Member



Joined: May 16, 2011
Posts: 12
Status: Offline

Edit this Post   Re: Calendar Down Reply to this Post
Reply with Quote
[Delete this Post]

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 ....
[Jan 31, 2012, 9:47:31 PM] [174.54.113.214] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
johnbosco
New Member



Joined: Jan 17, 2012
Posts: 3
Status: Offline

Edit this Post   Re: Calendar Down Reply to this Post
Reply with Quote
[Delete this Post]

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
[Jan 31, 2012, 10:10:00 PM] [83.147.134.101] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
scrantoncc
New Member



Joined: May 16, 2011
Posts: 12
Status: Offline

Edit this Post   Re: Calendar Down Reply to this Post
Reply with Quote
[Delete this Post]

We're back up. Thank you
[Jan 31, 2012, 10:16:44 PM] [174.54.113.214] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
support
localendar Expert
Member's Avatar


Joined: Aug 9, 2022
Posts: 6438
Status: Offline
Edit this Post   Re: Calendar Down Reply to this Post
Reply with Quote
[Delete this Post]

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
[Feb 1, 2012, 10:22:02 PM] [67.86.148.50] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
[Show Thread Printable Version] [Post new Thread]

Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us