When trying the Modal Frame Examples, clicking links results in the example content being drawn on new pages rather than in modals. I've confirmed that the problem exists both in my custom theme and in Garland. I've tested in both Chrome and Firefox.
In Firefox's error console I see the following javascript error when clicking an example link:
Error: self.iframe.$container.dialog is not a function
Source File: http://xxxxx.com/xxx/sites/all/modules/modalframe/js/parent.js?1
Line: 294
Comments
Comment #1
ryan_courtnage commentedSorry, closing this issue. I had installed jquery_ui.module, but failed to actually install jquery_ui 1.6. RTFM!
Comment #2
pendashteh commentedi have the same problem.
on node reference add and create button, i get the same error.
i used jquery.ui 1.6 with jquery 1.3.2, and jquery.ui 1.8.2 with jquery 1.3.2. both the same error.
at least please tell us the versions for jquery.ui and jquery core that works together well for modalframe. thanks
Comment #3
pendashteh commentedi had the same problem and could solve it by using Jquery 1.4 and Jquery UI 1.7 together.
Comment #4
markus_petrux commentedSee the note "Requirements related to jQuery UI" in the project page.
The combination of jQuery / jQuery UI that works is driven by their own relationships.
- jQuery UI 1.6.x works with jQuery 1.2.6
- jQuery UI 1.7.x works with jQuery 1.3.x (this is the one that works with Modal Frame API)
- jQuery UI 1.8.x works with jQuery 1.4.x
The Modal Frame API does not work with jQuery UI 1.6.x / jQuery 1.2.6 because this combination of libraries contains bugs that are not fixed.
And Modal Frame API does not work with jQuery UI 1.8.x / jQuery 1.4.x because this combination of libraries is not really implemented in Drupal as a stable enough boundle. See #685060: Get ready for 1.4.
The relationships between the jQuery and jQuery UI libraries are decided by their developers. The modules in Drupal that provide these libraries should provide you with enough information to decide which combination you need.
Comment #5
sumitk commentedI updated my jquery_update to 2.x which is jquery-1.3
It solved problems.