Download Size md5 hash
modalframe-6.x-1.6.tar.gz 26.43 KB 4d9ef99ffaf8f3425f14b6984821ae6c
modalframe-6.x-1.6.zip 32.3 KB a1b17579292202929b5bc4b7e9e23c41
Official release from tag: 6.x-1.6
Last updated: December 24, 2010 - 23:23

Changes since Modal Frame API 6.x-1.5

Release notes:

  • This is a quick release to deploy a few new features and a quite simple performance enhancement that makes Modal Frames load faster.
  • There's no need to run update.php to upgrade. Just make sure your javascript caches are cleared. You should also rebuild your theme registry.
  • You may also want to check out the new Modal Frame Contrib Package. It comes with a few mini-modules that implement Modal Frames here and there.

Features:

  • Transform function triggerParentEvent() into a method of the modalFrameChild object, so it can be easily reused.
  • Added onLoad option to client-side modal frame (callback to invoke when the child document in the modal frame is fully loaded).
  • Package name replaced from "User interface" to "Modal frame", because we now have the modalframe_contrib package that provides a few modules that implement Modal Frame API for common day to day tasks.
  • Added onLoad event handler for the iframe element to catch up bugs in server-side of child processing when modalframe_child_js() is not invoked.
  • Added Drupal.theme('modalFrameThrobber') as a helper theme function that can be reused elsewhere.
  • Performance enhancement: prevent template_preprocess_page() from generating sidebar blocks when a modal frame has been requested.