Posted by moonray on January 22, 2010 at 8:06am
3 followers
Jump to:
| Project: | Modal Frame API |
| Version: | 6.x-1.6 |
| Component: | Documentation |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I get the following error when trying to drag around the modalframe in Safari. It works fine in FF3.
TypeError: Result of expression 'stack[i].style' [undefined] is not an object.
I'm using JQuery UI 1.6, and drupal's default JQuery.
Comments
#1
It seems to me this part of the code is in jQuery itself. If you're using jQuery UI 1.6, then make sure you're using jQuery 1.2.6 as it comes with Drupal 6.
If you're using jQuery 1.3.2 (provided by jquery_update module), then you need jQuery UI 1.7.x.
Since this is not code in Modal Frame itself, it's hard to tell if it's caused by a bug here, or somewhere else. I would suggest trying to disable javascript aggregation (Drupal performance settings) and then debug the flow of execution when running in Safari. I do not use Safari myself, so I do not really know which tools it provides for that.
I'm marking this issue as a fixed support request because that line is not part of the code in Modal Frame API, so it could be caused by anything else.
#2
Just providing some additional info:
This problem only arrises in JQuery UI 1.6/JQuery 1.2.6.
If I update to JQuery UI 1.7/JQuery 1.3 everything works fine.
So perhaps this is a feature that needs to be disabled (or the issue documented) in modalframe API.
#3
hmm... yes, I could add a "known issues" section to the project page, and a link to this issue. Will do.
It would be nice to see if this is documented somewhere in the jQuery/jQuery UI docs.
#4
Project page updated. Thanks!
#5
Automatically closed -- issue fixed for 2 weeks with no activity.