Hey Everyone,

I noticed there was a major change in the args variable structure for ajax 1.15 in for the Drupal.Ajax.plugins hook.

Essentially, the entire args structure changed for the message hook. Every module implementing this hook is now completely broken. Could you imagine the grief developers would have of hook_nodeapi suddenly changed the entire structure of the $node object? I know you're trying hard to make this thing perfect but this release caused some major complications with modules that depend on this framework to be consistent.

I built a module on 1.14 and made extensive use of Drupal.Ajax.plugins in my own javascript for responding to ajax form events. One thing I did in particular with this hook was unsetting args.data.preview and args.options.messages. I've completely lost that ability and lost control over intercepting the preview box because args is now a smaller slice of data than it was previously.

Do you have an advice for intercepting and removing the preview function utilizing the new version of this hook?