Sean, just so you know, I’ve been looking at your issues today.
- at least from the conversation you had on Max’s support, that toronto site seems to show still the extra punctuation in one of your JQuery functions:
[removed]
// <![CDATA[
$(document).ready(function() {
if (typeof SafeCracker == "undefined" || ! SafeCracker) };} <-- these three extra??
$.datepicker.setDefaults();});
// ]]>
[removed]- For a shorter test, using your short Safecracker code above, and putting Max’s Google Map above it from very simple code I’ve used successfullly before with it here, I can _seem_ to get both the map and your form successfully, on Google Chrome.
- However, the same page clearly doesn’t work on Firefox or IE9, and shows dubious errors in the Javascript console.
- Completely removing Max’s Google Map code has no effect whatever on these errors.
- The problem seems to be in Safecracker itself, and is very likely to involve some trick to make it run which I haven’t found yet myself, as many are using it.
- I’ve currently got a model for the situation in an otherwise clean 2.1.3 20110414 EE, and am trying to find out what’s going on. It’s something affecting deeply within the Javascript Safecracker tries to load, causing fundamental terms (EE for example) to be undefined there.
Sean, my thought is for the moment to be sure about that extra punctuation in your JQuery line on the Toronto site—that at least you can do, and Max was trying to tell you about it.
As far as the mod Sue is suggesting, I think it is harmless, and I’m sure it will be necessary if you want to run a site with CP Debug set to zero (0). At minimum, to use Google Maps JSON variables have to be sent, and those are clipped out if you don’t have the mod.
In this case, though, it looks like something is going on beyond the bug/feature fix there. I’ll come back with what I find; should be something simple that we’re all overlooking. There are resources if I fail 😉.
Annyoung-hi kyesipsio (for others: typical Korean greeting on leaving, says to remain calm…)
Clive