This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse
David Taylor 583226d295 FIX: Linking to /new-topic from /latest
`/new-topic` redirects back to `/latest`, so the ember router considers this to be a 'refresh'. This triggers the `resetParams()` logic, which would cause the transition to abort, and the composer would never open.

This commit fixes the `resetParams()` logic so that it uses the default values, instead of setting everything to `null`. Therefore the transition is no longer aborted, and the composer opens successfully.

Unfortunately I have not been able to reproduce the issue in a QUnit test.
2019-04-30 16:25:25 +01:00
..
adapters FEATURE: Allow users to customize bonuses for reviewable types 2019-04-03 11:18:34 -04:00
components FIX: Respect "open external links in new window" in quotes and edit history 2019-04-29 10:13:53 -04:00
controllers FIX: Linking to /new-topic from /latest 2019-04-30 16:25:25 +01:00
helpers DEV: Remove HTML parser from Tautologistics. (#7344) 2019-04-10 11:21:22 +02:00
initializers FIX: prevents google to track certain pages (#7463) 2019-04-30 15:57:51 +02:00
lib FIX: prevents google to track certain pages (#7463) 2019-04-30 15:57:51 +02:00
mixins DEV: Ember 3.8.0 2019-04-26 12:16:21 +02:00
models DEV: Ember 3.8.0 2019-04-26 12:16:21 +02:00
pre-initializers DEV: s/this._super()/this._super(...arguments) (#6908) 2019-01-19 10:05:51 +01:00
raw-views DEV: Ember 3.8.0 2019-04-26 12:16:21 +02:00
routes UX: new layout for groups page, allow changes to automatic group bio (#7350) 2019-04-17 22:44:30 -04:00
services FEATURE: Support for localized themes (#6848) 2019-01-17 11:46:11 +00:00
templates FIX: Loading more broken on groups page. 2019-04-30 10:35:17 +08:00
widgets UX: Changed post stream placeholder to animation (#7434) 2019-04-26 17:29:48 +01:00
mapping-router.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00