Active
Project:
Javascript Tools
Version:
5.x-1.x-dev
Component:
Ajaxsubmit
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2008 at 02:28 UTC
Updated:
22 Feb 2008 at 02:28 UTC
Currently the treatment of the processbar and response to a form submitted by Ajaxsubmit are pretty hard-coded. They can be overridden by re-declaring Drupal.ajaxsubmit.prototype.oncomplete and Drupal.ajaxsubmit.prototype.onsubmit, but this seems kind of hacky.
It would be really good to lay down a lightweight API that will allow developers/themers to hook into these events and specify custom functionality.
Some initial thoughts:
I don't have a strong preference here, but I do want to get a way to customize the functionality without fully overriding the behavior calls.