]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
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)
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.


No differences found