Needs review
Project:
Ajax Login/Register
Version:
7.x-4.0-rc15
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Mar 2013 at 20:42 UTC
Updated:
7 Mar 2013 at 20:42 UTC
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 |