Flatten thread: fix behavior after replying

After replying to a thread, the new reply wasn't visible. This was due
to the fact that when the Community Console loaded the thread again, it
used the XHR property `responseText` to read the response instead of
`response`, but until now only `response` returned the modified response
instead of the original one.

Thus, this CL adds logic to also return the modified response (in text
form) when calling `responseText`.

Bug: twpowertools:156
Change-Id: If30112ca2827749a5d6677bfb9dfc790dabd9281
3 files changed
tree: f0fe479bce7c5dae8d18d1a5a5d149b39450cf67
  1. .github/
  2. cws/
  3. docs/
  4. playbooks/
  5. roles/
  6. src/
  7. templates/
  8. tools/
  9. .babelrc
  10. .clang-format
  11. .editorconfig
  12. .eslintrc.json
  13. .gitignore
  14. .gitreview
  15. .zuul.yaml
  16. i18n-config.toml
  17. jest.config.js
  19. Makefile
  20. OWNERS
  21. package-lock.json
  22. package.json
  23. README.md
  24. tagRelease.bash
  25. webpack.config.js

TW Power Tools

Available in the Chrome Web Store

An extension which brings several enhancements to the Google Forums and the Community Console.

For a list of features/enhancements, check out the feature list doc.

Information for contributors

This extension is being actively developed, and everyone is welcome to make feature requests, report issues and contribute code changes.

In order to make feature requests or report issues, please do so at the Monorail Issue Tracker:

To see a more exhaustive guide on how to contribute, and information on how to contribute code changes, please read the following doc:

Beta channel

Before releasing updates to the stable channel, the newest versions are uploaded to the beta channel so they can be tested by everyone who's interested. This is another way to contribute to the project, because beta testing can make us notice bugs before they reach the stable channel.

The beta channel for Chrome is available here.