When preloading topic_list data we were giving it a 'preload key' which was loosely based on the parameters of the list. However, it did not include all parameters, and mismatches between client/server-side logic would cause the preloaded data to be ignored. This commit simplifies things by using a single key for all topic_list preloading. This works on the assumption that "The first topic_list the JS app will load is the one which was preloaded". That assumption also existed to some extent in the old design, so we don't expect any regressions here. |
||
|---|---|---|
| .. | ||
| email-template.js | ||
| group.js | ||
| notification.js | ||
| pending-post.js | ||
| post-reply-history.js | ||
| post-reply.js | ||
| post.js | ||
| published-page.js | ||
| rest.js | ||
| reviewable-explanation.js | ||
| reviewable-settings.js | ||
| reviewable-topic.js | ||
| reviewable.js | ||
| tag-info.js | ||
| tag-notification.js | ||
| tag.js | ||
| topic-list.js | ||
| topic.js | ||