discourse/test/javascripts/helpers
Jarek Radosz b5236591e9
FIX: Don't try to create an empty tag when updating a topic (#8481)
Fixes an issue where updates to the first post in a topic would be visible only for staff.

Before, because the empty tag would find its way to `PostRevisor`, `TopicsController#update` would create a hidden revision, and later `PostsController#update` would only update that revision.

After this change, `TopicsController` doesn't create a revision at all (unless necessary), so `PostsController` can create it (and correctly decide whether the revision should be hidden or not).
2019-12-09 19:55:08 +01:00
..
assertions.js select-kit refactoring 2017-12-22 13:08:12 +01:00
component-test.js.es6 DEV: Remove some extra `Discourse.Site` uses 2019-11-13 16:00:58 -05:00
create-pretender.js.es6 FIX: Don't try to create an empty tag when updating a topic (#8481) 2019-12-09 19:55:08 +01:00
create-store.js.es6 DEV: Support custom server-side names in rest models (#8265) 2019-10-30 15:25:42 +00:00
d-editor-helper.js.es6 DEV: d-editor helper should be synchronous (#7706) 2019-06-05 14:52:38 +02:00
fixture-pretender.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
html-helper.js.es6 DEV: adds a `stringToHTML` helper to be used in tests (#8424) 2019-11-27 17:36:45 +01:00
init-ember-qunit.js Split out common functions into `discourse-common` module 2016-09-22 09:52:19 -04:00
qunit-helpers.js.es6 DEV: Fix some more deprecated Discourse.User and Discourse.Site 2019-11-13 15:34:30 -05:00
review-pretender.js.es6 DEV: Provide radix argument to parseInt (#8281) 2019-11-12 10:47:42 +01:00
select-kit-helper.js.es6 DEV: refactors select-kit helper to prevent it to leak into global state (#7708) 2019-06-06 10:47:10 +02:00
site-settings.js FIX: Respect `enable_inline_emoji_translation` setting in titles 2019-12-03 20:39:11 +01:00
site.js.es6 DEV: Remove handling of category top menu items 2019-11-11 17:36:29 +00:00
store-pretender.js.es6 DEV: Provide radix argument to parseInt (#8281) 2019-11-12 10:47:42 +01:00
textarea-selection-helper.js.es6 DEV: refactors textarea-selection helper to prevent leaking (#7709) 2019-06-05 19:20:46 +02:00
widget-test.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00