Zulip 服务器和 Web 应用程序。开源团队聊天可帮助团队保持高效和专注。
Go to file
Tim Abbott c88684d1f5 Fix first message in narrowed views never appearing.
The message list data structure never had the rendered_idx values
initiatized except via _maybe_rerender (called when a message is
selected).  For the narrowed message list for streams with no messages
yet, we didn't select a message (as there was none to select); the end
result is that msg_list.append() will never rerender because it tries
to subtract undefined from undefined and gets NaN in its test for
whether it needs to rerender.

So fix this by initializing _min_rendered_idx and _max_rendered_idx to
valid values for the empty message list (the closed interval from 0 to -1).

(imported from commit 6afecb1569185a842a3a9108cedba7e88f8befad)
2013-03-07 13:24:46 -05:00
api api: Fix version number check. 2013-03-06 14:19:32 -05:00
assets favicon: Add an 'infinite' favicon for more than 99 messages 2013-02-15 16:18:24 -05:00
bots git: Put prod back on the list of branches to send notices about. 2013-02-21 14:33:27 -05:00
certs Add wildcard certificate for *.e.humbughq.com. 2013-01-17 18:56:39 -05:00
confirmation Introduce script to bulk-create activation URIs. 2013-02-28 14:34:18 -05:00
humbug Avoid cross-site logout attacks 2013-03-06 19:10:04 -05:00
servers [manual] Implement backend support for authenticating a user via Google. 2013-02-27 10:16:54 -05:00
templates Remove the link to 'activity' from the gear menu. 2013-03-07 13:12:45 -05:00
tools Move clear_table into MessageList 2013-03-05 12:48:32 -05:00
zephyr Fix first message in narrowed views never appearing. 2013-03-07 13:24:46 -05:00
.gitignore gitignore: Add .DS_Store 2013-02-06 16:31:55 -05:00
manage.py chmod +x manage.py 2012-10-25 15:22:18 -04:00