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.
I have used this module before and works all right, but now I had to use it on a website where the register form had multiple fields grouped, then when the window tries to show it generates a negative top value and half of the window dissapears outside of the window and even the close button cannot be reached.
If you resize the window if recalculates the ajax window top and then it shows ok.
The simple solution is to add a validation, so that if the calculated top value is negative replace it with the default window top. I'm attaching a simple patch for that.
Comment | File | Size | Author |
---|---|---|---|
ajax_register_js.patch | 526 bytes | icampana |