mirror of https://github.com/zulip/zulip.git
5d65de9b82
One of the ugly parts of message_list.js is how it re-uses the message objects from the server to hold handlebars template parameters. These objects are shared between different message lists and re-renders, but are mutated by the rendering process. The `dom_id` attribute is normally unset on summary rows, and should not be used in the template. But when a message comes in with a `dom_id` from another render, it can end up on the summary row, breaking `rows.get()`. (imported from commit ef6af65d5e995dffbd7234547786d6ea861920da) |
||
---|---|---|
.. | ||
.gitignore | ||
actions_popover_content.handlebars | ||
bankruptcy_modal.handlebars | ||
bot_avatar_row.handlebars | ||
invite_subscription.handlebars | ||
message.handlebars | ||
message_edit_form.handlebars | ||
message_info_popover_content.handlebars | ||
message_info_popover_title.handlebars | ||
new_stream_users.handlebars | ||
notification.handlebars | ||
notification_docs.handlebars | ||
sidebar_subject_list.handlebars | ||
sticky_app_popover.handlebars | ||
stream_sidebar_actions.handlebars | ||
stream_sidebar_row.handlebars | ||
subscription.handlebars | ||
subscription_table_body.handlebars | ||
tab_bar.handlebars | ||
trailing_bookend.handlebars | ||
tutorial_home.handlebars | ||
tutorial_message.handlebars | ||
tutorial_private.handlebars | ||
tutorial_reply.handlebars | ||
tutorial_stream.handlebars | ||
tutorial_subject.handlebars | ||
tutorial_title.handlebars | ||
tutorial_welcome.handlebars | ||
user_presence_rows.handlebars | ||
user_sidebar_actions.handlebars |