mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 16:34:21 +00:00
6f404e5ce2
Previously, we only built the Parsoid document once (on page load) and kept it around forever. Every time we tried to post a reply, it was added to this document, even if it wasn't saved due to some error. This resulted in duplicate replies when the user managed to actually save. Now we only keep around the HTML string and some metadata fetched from the API, and rebuild the actual document every time before adding a reply. Bug: T245333 Change-Id: Ib1c344a7d613cdf67644aa243147c5e699c2c1e7 |
||
---|---|---|
.. | ||
lib | ||
.eslintrc.json | ||
CommentTarget.js | ||
CommentTargetWidget.js | ||
CommentTargetWidget.less | ||
controller.js | ||
dt.debug.js | ||
dt.init.js | ||
dt.init.less | ||
dt.ui.ReplyWidget.js | ||
dt.ui.ReplyWidget.less | ||
dt.ui.ReplyWidgetPlain.js | ||
dt.ui.ReplyWidgetVisual.js | ||
highlighter.css | ||
highlighter.js | ||
modifier.js | ||
parser.js |