I've been working w/ajaxsubmit a bit, and find it to be potentially quite powerful. However, it needs some documentation. Most devs can't figure it out at the moment...

Also some work should be done to let it be more easily hooked into in terms of how responses are handled. Currently it's posstible to totally override Drupal.ajaxsubmit.prototype.oncomplete, etc, but it would be nicer if there were a way to just add additional JS callbacks, and/or to customize certain hard-coded things (e.g. the height/width/stype of the progressbar container).

Would patches along these lines be welcome?

CommentFileSizeAuthor
#3 ajaxsubmit-readme.patch1.87 KBjoshk

Comments

nedjo’s picture

Would patches along these lines be welcome?

Very! And the more so if you perhaps wished to co-maintain the module. It's one of many that I sketched in for interest's sake but haven't found time to do much more with.

joshk’s picture

Ok! I was just wondering if you were interested... Documentation first and ideas for functional flexibility after.

joshk’s picture

StatusFileSize
new1.87 KB

First update for readme.

joshk’s picture

Title: Add documentation and extensibility for ajaxsubmit » Add documentation for ajaxsubmit

I'm going to keep this issue for tracking documentation, and have started a new issue to discuss changes around functionality.

Functional extension issue: http://drupal.org/node/225181