mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 20:12:45 +08:00
ecce3c81f2
We automatically refresh the page 'on the next navigation' whenever a new version of the JS client is available. If the composer is open when this happens then it will be closed and you'll have to reopen the draft. In some circumstances, this refresh can also cause some composer content to be lost. This commit updates the auto-refresh logic so that it doesn't trigger while the composer is open, and adds an acceptance test for the behaviour. <!-- NOTE: All pull requests should have tests (rspec in Ruby, qunit in JavaScript). If your code does not include test coverage, please include an explanation of why it was omitted. --> |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |