zulip/static/js
Tim Abbott 02d69f18ac Clean up codepath for selecting a message on unnarrowing.
This does have a small functional change of using use_closest even for
the current_msg_list.last().id case, but that's harmless; and it does
reduce a lot of code duplication and confusing logic here.

(imported from commit 7c4ecaa197120cc6d5c05ce4887f33c7d94a9c59)
2014-02-06 10:25:35 -05:00
..
activity.js Move suppress_unread_counts to unread.js. 2014-01-31 15:57:28 -05:00
admin.js Allow admins to change the realm's name in the UI. 2014-02-04 11:33:19 -05:00
alert_words.js Simplify code by using message.alerted. 2014-01-10 21:39:02 -05:00
alert_words_ui.js Add an idempotent flag to the channel module. 2014-01-10 21:39:00 -05:00
api.js Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00
avatar.js Allow users to upload avatars on the Settings page. 2013-10-29 10:59:41 -04:00
blueslip.js Add support to blueslip.error to report an existing stack 2014-02-02 00:47:50 -05:00
channel.js Always set data.method=PATCH in channel.patch() 2014-01-16 13:41:53 -05:00
colorspace.js Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00
common.js Add curly braces for all javascript if statements lacking them. 2013-08-01 11:47:54 -04:00
compose.js Move report_as_received to compose.js. 2014-02-03 13:32:02 -05:00
compose_fade.js Split out new module message_store.js. 2014-01-31 15:57:28 -05:00
composebox_typeahead.js Add an idempotent flag to the channel module. 2014-01-10 21:39:00 -05:00
custom_markdown.js Add JS to for the inline subscribe button 2014-01-22 11:28:31 -05:00
debug.js Replace $.each with _.each 2013-07-30 12:12:58 -04:00
dict.js Create blueslip error for undefined keys in Dict. 2013-09-11 18:07:37 -04:00
echo.js Blueslip has a warn not warning function 2014-02-04 23:08:19 -05:00
emoji.js Consolidate emoji tests and test on frontend as well 2014-01-27 12:07:48 -05:00
feature_flags.js Enable local echo for hacker school realms 2014-02-03 16:57:36 -05:00
fenced_code.js [localecho] Properly escape HTML in code blocks 2014-02-03 12:57:54 -05:00
filter.js Allow Filter to accept non-tuple-based terms. 2014-02-04 13:16:25 -05:00
hashchange.js Do not return terms as tuples in hashchange.parse_narrow. 2014-02-04 13:16:34 -05:00
hotkey.js Have the ENTER key blur people searches. 2014-01-15 16:05:52 -05:00
initial_invite.js Unbreak sending invites from the first user. 2014-01-13 10:36:48 -05:00
invite.js Unconditionally subscribe new users to the notification stream if it is public. 2014-01-23 17:06:26 -05:00
landing-page.js Send you a registration email if you try to sign up for an existing realm. 2014-01-31 16:40:19 -05:00
localstorage.js Add a localstorage.js module 2014-01-23 16:28:58 -05:00
message_edit.js Allow editing of locally echoed messages that failed to be sent 2014-01-23 16:28:55 -05:00
message_flags.js Split out message_flags.js. 2014-01-31 14:59:03 -05:00
message_list.js Restore the browser's scroll position on server-initiated reload. 2014-02-06 10:25:35 -05:00
message_list_view.js Fix scroll position on narrow and unnarrow 2014-01-30 01:48:15 -05:00
message_store.js Restore the browser's scroll position on server-initiated reload. 2014-02-06 10:25:35 -05:00
metrics.js Use .operator to get operator for mixpanel. 2014-01-30 13:24:43 -05:00
muting.js Handle undefined keys in muting.is_topic_muted 2013-09-11 16:47:36 -04:00
muting_ui.js Add an idempotent flag to the channel module. 2014-01-10 21:39:00 -05:00
narrow.js Clean up codepath for selecting a message on unnarrowing. 2014-02-06 10:25:35 -05:00
navigate.js Move unread-related functions from zulip.js to unread.js. 2014-01-31 14:59:03 -05:00
notifications.js Tell the desktop app the source of a desktop notification 2014-02-05 12:02:27 -05:00
notifications_bar.js Add curly braces for all javascript if statements lacking them. 2013-08-01 11:47:54 -04:00
people.js Remove unused in_realm var in people.add() 2014-02-03 10:16:17 -05:00
popovers.js Don't allow editing of in-flight locally delivered messages 2014-01-23 16:28:55 -05:00
referral.js Add channel module wrapping our various JSON requests to the server. 2013-12-19 16:52:47 -05:00
reload.js Restore the browser's scroll position on server-initiated reload. 2014-02-06 10:25:35 -05:00
rows.js Parse message IDs as floats 2014-01-07 17:33:33 -05:00
search.js Remove jquery.highlight 2014-01-15 16:07:20 -05:00
search_suggestion.js Fix undefined operator in search suggestions. 2014-01-21 17:07:50 -05:00
server_events.js Allow admins to change the realm's name in the UI. 2014-02-04 11:33:19 -05:00
settings.js Add an idempotent flag to the channel module. 2014-01-10 21:39:00 -05:00
setup.js Rename get_updates to get_events in the frontend. 2014-01-30 17:23:52 -05:00
signup.js Make login form validation errors not wrap 2013-09-16 14:20:43 -04:00
socket.js Catch exceptions when saving to local storage, as disk may be full or quota may be up 2014-02-03 17:50:30 -05:00
stream_color.js Fix stream color updates for left borders of messages. 2014-01-10 21:39:05 -05:00
stream_data.js tutorial: be flexible about the work-focused warm-up message recipient. 2014-01-23 17:06:28 -05:00
stream_list.js Move unread-related functions from zulip.js to unread.js. 2014-01-31 14:59:03 -05:00
subs.js Fix display of unread counts. 2014-01-31 17:53:11 -05:00
summary.js Split out message_flags.js. 2014-01-31 14:59:03 -05:00
tab_bar.js Split out new module people.js for tracking people. 2014-01-30 17:32:58 -05:00
templates.js Use compiled.js in dev environments. 2014-01-10 21:39:04 -05:00
timerender.js Better date separator rendering 2013-09-11 11:50:17 -07:00
tutorial.js Make tutorial respond to window resize events. 2014-02-04 15:51:53 -05:00
typeahead_helper.js Prefer humans to bots when autocompleting PM recipients. 2014-01-10 21:39:05 -05:00
ui.js Restore the browser's scroll position on server-initiated reload. 2014-02-06 10:25:35 -05:00
unread.js Move suppress_unread_counts to unread.js. 2014-01-31 15:57:28 -05:00
util.js Add a `.expectOne` method to jQuery objects. 2013-09-04 16:44:33 -04:00
viewport.js Fix scroll position on narrow and unnarrow 2014-01-30 01:48:15 -05:00
zulip.js Move message_range to a function on the message list. 2014-02-03 13:32:02 -05:00