Closed (fixed)
Project:
EPSA Crop - Image Cropping
Version:
6.x-1.3
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 May 2012 at 10:15 UTC
Updated:
28 May 2012 at 10:40 UTC
When node form validation fails (e.g. you're leave required field empty) no scripts nor styles are included. This is because of http://drupal.org/node/671574 - hook_form_alter() isn't called in such situations. The solution is to add 'node/*/edit' (and any other where the problem exists) to paths or call _epsacrop_include_html() as #after_build (this is a proper way). Patch included.
| Comment | File | Size | Author |
|---|---|---|---|
| epsacrop-form-afterbuild.patch | 838 bytes | adr_p |
Comments
Comment #1
yvmarques commentedThanks for the patch, I just committed it on the dev branch.
Comment #2
yvmarques commented