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.

CommentFileSizeAuthor
epsacrop-form-afterbuild.patch838 bytesadr_p

Comments

yvmarques’s picture

Thanks for the patch, I just committed it on the dev branch.

yvmarques’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.