I had the need to react on blur, I had an auto complete textfield that I want to update a different dive (image preview) on.

Attached is the patch.

You just add the "ctools-use-ajax-blur".

I can't take to much credit as I just took this issue (#464252: ajax - select on change) and made a few small modifications. Leads to to thinks there would be a wild card "ctools-use-ajax-*" that reacts based upon the event in the class.

Until then, I hope this makes someone else happy.

Neil

CommentFileSizeAuthor
ctools-blur.patch2.5 KBindytechcook
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

indytechcook’s picture

Status: Active » Needs review

change status to needs review.

merlinofchaos’s picture

Hmm. Yeah, I agree this suggests we need some better way to generalize this, because we could end up really doing a lot of stuff.

Perhaps we should backport some of ajax.js from Drupal 7 and use that method, which lets you specify the event and some other goodies via settings. That might be much more effective, ultimately.

japerry’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

Closing this issue as outdated as Drupal 6 ctools is not supported. If this issue is relevant for Drupal 7, feel free to re-open and mark for Drupal 7 (or 8)