mirror of
https://github.com/discourse/discourse.git
synced 2024-12-30 07:03:47 +08:00
9bdd97db42
BEFORE: if you click the "reply" button on a post and then decided that you want to "edit" the same post, clicking the "edit" button would do nothing. Clicking "edit" on another post works, but editing the same post would appear broken.
AFTER: if you click the "edit" button, it will properly load the content of the post you're trying to edit. No matter which one it is.
This was somewhat tricky to track down as the system specs seemed to contradict the qunit tests until I realized that the qunit tests were only testing the edit on the 1st post and the system specs were testing on replies.
I improved the qunit tests to test both editing OP and a reply and (hopefully) made the system specs a little bit clearer.
This is a follow up to
|
||
---|---|---|
.. | ||
components | ||
modals | ||
pages | ||
admin_backups.rb | ||
admin_badges_groupings.rb | ||
admin_badges.rb | ||
admin_emojis.rb | ||
admin_user_badges.rb | ||
cdp.rb |