]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Merge branch 'tagprofile-ajax-fix' into 'nightly'
authormmn <mmn@hethane.se>
Sat, 6 Jun 2015 10:26:43 +0000 (10:26 +0000)
committermmn <mmn@hethane.se>
Sat, 6 Jun 2015 10:26:43 +0000 (10:26 +0000)
commita39f51c0441b22951412b2c00d88c34f39cb39c9
treed9c213b2176507bbf825339ead0174372104212e
parent1635d459ec1988104f28f3346c45ee5aebbfcc1a
parent47c83f4c496f9cb9b09cc25123b862f1402aacab
Merge branch 'tagprofile-ajax-fix' into 'nightly'

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.

See merge request !8