]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Only serve tagprofile HTML if we aren't POSTing via ajax
authorChimo <chimo@chromic.org>
Sat, 6 Jun 2015 04:22:14 +0000 (00:22 -0400)
committerChimo <chimo@chromic.org>
Sat, 6 Jun 2015 04:22:14 +0000 (00:22 -0400)
commit47c83f4c496f9cb9b09cc25123b862f1402aacab
tree18e5c0c564dde780853a2ac427baa3fab9be1f79
parent3294d704a44203eb891d4b6485452fd16976ec2e
Only serve tagprofile HTML if we aren't POSTing via ajax

This fixes an issue where POSTing the selftag form in the
profile_block sidebar via AJAX would generate an XML response
containing both the content from doPost() and showPage(),
resulting in invalid XML.

These changes make it so that if we're POSTing via AJAX,
we serve content from doPost(), otherwise we serve showPage()
but never both.
actions/tagprofile.php