Closed (fixed)
Project:
Modal Frame Contrib Package
Version:
6.x-1.0
Component:
modalframe_blocks.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Feb 2010 at 10:31 UTC
Updated:
17 May 2010 at 17:48 UTC
I installed modal frame module and jquery_ui(+jquery ui package) But when I go to modalframe-example page; after clicking on Items a dialog box appears for 1 or 2 seconds and then it opens the content in a new page instead of dialog box.
JavaScript and Jquery_ui are both enabled.
What's wrong?
Comments
Comment #1
trevorleenc commentedI am having a similar issue, but with blocks.
When I am viewing a page on my site, and I click on the block config link (which appears at the corner of my blocks), it opens the dialogue as a new page, instead of the modal frame.
-Trevor
Comment #2
bryan kennedy commentedI am having the exact same issue with the example modules. All of the modules in the Modal Frame Contrib package work just fine, but the modal frame example module behaves as described above.
Comment #3
lizuka commentedI got this problem on Mac osx Firefox and Safari using the Modal Frame API in a custom module calling it from a block.
what fixed it was to use the hook_init() function to call the js and css :
hope this will help.
Comment #4
markus_petrux commentedCan anyone confirm #3 works?
Lack of proper patch. Setting to "needs work". Sorry I do not have time right now to work on this. Patch is welcome. Thanks!
Comment #5
ryan_courtnage commentedI was just having the same issue and then realized I failed to read jquery_ui.module's README.txt.
#790918: modalframe does not open dialogs. (Error: self.iframe.$container.dialog is not a function)
Comment #6
markus_petrux commentedPlease, read #4. Also... hmmm... I think there are different things here. One of which is probably solved using the proper versions of jQuery/jQuery UI, and the other (#3) seems to be related to some kind of custom implementation of Modal Frame API.
I'm closing this issue because, AFAICT, there's nothing else to fix here. Rather than re-opening this issue, please create separate issues with instructions to reproducte the issue. Thanks.