Two reasons it wasn't working for me:

1. I had Drupal installed in a subdirectory, and the callback URL assumed otherwise;
2. The text is updated when the event handler returns, but the callback hadn't updated the values yet.

Attached patch should fix both.

CommentFileSizeAuthor
password_policy-js-callback.patch1.08 KBjohn morahan

Comments

jelle_s’s picture

Status: Needs review » Reviewed & tested by the community

Patch works like a charm!

erikwebb’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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