Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
i think the implementation is pretty easy. It would be great if the user can provide a switch to let the Drupal.modalFrame.load method load the URL using post. Of couse we would need to add a data options, so that we can also pass data here. This is especially usefull when using modalframe with drupal FAPI, where you want to initialize the form using that method. You cant initiaize before, as the values you initialize with are computed by JS, then passed to the dialog.
Thank you
Comments
Comment #1
EugenMayer CreditAttribution: EugenMayer commentedWell i used this implementation, but it will not work. While the content is loaded, it is hidden ( display:none). Any ideas?
Drupal.modalFrame.load = function(url) .. below
Comment #2
EugenMayer CreditAttribution: EugenMayer commentedWell yeah its obvious what is wrong. As i inject the document using javascript, its not loded and therefor all those javascript includes are not working..including the modal_frame_child_js()..
So i guess this can be resolved due to browser limitations. Guess i have to go a huge workarround using the cache.
Thanks anyway