]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Replace explicit FormXHR setup for a bunch of simple AJAX form submissions with addin...
authorBrion Vibber <brion@pobox.com>
Tue, 8 Mar 2011 21:58:28 +0000 (13:58 -0800)
committerBrion Vibber <brion@pobox.com>
Tue, 8 Mar 2011 21:58:28 +0000 (13:58 -0800)
commit28809035d0d032c59731c0796610bb444f97dbf5
treec8d03ddc715fa2e41a77a1be8d77ff2e3aa3f80e
parent90f1cfcfc0fc8f925866842d765c089616009f40
Replace explicit FormXHR setup for a bunch of simple AJAX form submissions with adding the 'ajax' class on them.
This avoids having to add extra custom JS bits just to initialize forms using the common AJAX submission path.
12 files changed:
js/util.js
js/util.min.js
lib/disfavorform.php
lib/favorform.php
lib/form.php
lib/joinform.php
lib/leaveform.php
lib/nudgeform.php
lib/subscribeform.php
lib/unsubscribeform.php
plugins/UserFlag/UserFlagPlugin.php
plugins/UserFlag/flagprofileform.php