Active
Project:
Popups API (Ajax Dialogs) [D7]
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2009 at 01:22 UTC
Updated:
10 Oct 2011 at 13:19 UTC
This seems due to the fact that the js popup files are included in form_alter. This hook is not called when the form is retrieved from cache (for example, forms are cached if there is a ajax file upload widget in the form). Therefore, popups don't work after form validation fails.
To make it work, I defined a custom validation function which includes the necessary files again (basically calling popups_add_popups() and including popups_reference.js).
Oh, and this problem exists with other modules as well (e.g. organic groups, pathauto, etc.) ...
Comments
Comment #1
chintan4u commentedsame problem .......!