I noticed the slashes in IDs, which are indeed illegal, but looking at the javascript code it seems it'll take quite a bit of fiddly work to remove them. I'm not sure they're the problem either.

I've followed (single stepped) the mgnlTreeDrawNodesCallback call (which I assume is the one drawing the tree view) in both Safari and Firefox, and they both seem to be behaving in pretty much the same way- at least until they get to the final "if (html=="")" bit - where mysteriously firefox seems to execute the code in the if statement even though (as far as I can tell) the "html" variable has a load of stuff in it. Safari seems to (correctly) not execute the code in the if statement.

I wish the error was with Firefox, where firebug would be very helpful.

You do know there's a new javascript debugger etc. in Safari 4 don't you? It looks like it's pretty much based on firebug - not as good in some areas, but marginally better in others. To see it you need to tick the "enable develop menu in menu bar" preference in the "advanced" preference pane. Then "Show Web Inspector" for the window you want to debug.


Josh



On 16 Jun 2009, at 21:39, Grégory Joseph wrote:


On Jun 16, 2009, at 9:47 PM, Joshua Portway wrote:

It's probably worth mentioning that other Javascript on the page still seems to work - eg. clicking to get the action menu.

Yes, I have noticed too. I currently have two areas of suspicion:
* plenty of elements have IDs containing slashes. That's illegal. I've tried removing them, easy enough, but adapting the whole js counterpart was another pair of sleeves. So far no hard evidence that's the actual problem. * something happening "onload", eventhough the onload functions seem to be properly registered.

I wish the error was with Firefox, where firebug would be very helpful. Currently playing around with Chrome, but it has no tooling afaik, at least not on the Mac.
Maybe i'll play with this tomorrow:
http://getfirebug.com/lite.html

-g



On 16 Jun 2009, at 19:39, Grégory Joseph wrote:

Hi Joshua,

Did you get the following with 4.1 ? (not that I think it's changed since 4.0) When looking at the website tree frame only (/.magnolia/trees/ website.html), I can't see the <title> and <head> errors that the console mentions.
Any clue ?

-g


On Jun 9, 2009, at 3:48 PM, Joshua Portway wrote:

The only serious looking errors I can see appearing in the Safari error console seem to be with some confusion about nested head and body elements - i suspect the html being downloaded for the tree view includes head elements and is maybe being directly added to the page, head-and-all ?

here's the console output :

messages.en.jsResource interpreted as other but transferred with MIME type application/x-javascript.
adminCentral.html:91Unmatched </head> encountered.  Ignoring tag.
adminCentral.html:92Extra <body> encountered. Migrating attributes back to the original <body> element and ignoring the tag. admin-all.cssResource interpreted as other but transferred with MIME type text/css. theme.cssResource interpreted as other but transferred with MIME type text/css. calendar-en.jsResource interpreted as other but transferred with MIME type application/x-javascript. calendar-setup.jsResource interpreted as other but transferred with MIME type application/x-javascript. website.html:4<title> is not allowed inside <body>. Moving <title> into the <head>.
website.html:4Unmatched </head> encountered.  Ignoring tag.
website.html:4



Josh

On 9 Jun 2009, at 08:47, Matteo Pelucco wrote:


Will Scheidegger ha scritto:
Bad news for all Safari fans. Magnolia does not run on the brand new Safari 4. So hold your horses before you install, or you'll be facing empty tree windows :-(

Uh?
Which are the causes? The Javascript calls, I suppose...

M.


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia- cms.com>
----------------------------------------------------------------





----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to