zulip/static/js
Zev Benjamin 72927e9d77 Fix unread count badge on OS X desktop app
For web pages, the initial favicon is the same as the favicon we
set for no unread messages and the initial page title is the same
as the page title we set for no unread messages.  However, for the
OS X app, the dock icon does not get its badge updated on initial
page load.  If the badge icon was wrong right before a reload and
we actually have no unread messages then we will never execute
bridge.updateCount() until the unread count changes.  Therefore,
we now ensure that bridge.updateCount is always run at least once
to synchronize it with the page title.

(imported from commit 5d1269c62c1c3190aea96ef6f96c46acdb9fdf9c)
2013-08-14 17:30:16 -04:00
..
activity.js Use Dict everywhere we have keys based on potentially dangerous, user-supplied data 2013-08-09 17:35:14 -04:00
admin.js Switch to checking database is_bot field instead of using a heuristic. 2013-08-13 14:20:18 -04:00
api.js Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00
avatar.js Add curly braces for all javascript if statements lacking them. 2013-08-01 11:47:54 -04:00
blueslip.js Replace $.extend 2013-07-30 12:12:59 -04: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 Use iframe for Dropbox integration. 2013-08-14 11:05:14 -04:00
compose_fade.js Properly fade recipient bar of incoming messages. 2013-08-14 13:20:39 -04:00
composebox_typeahead.js Make topic autocompletes be case-insensitive w/r/t streams. 2013-08-14 13:15:00 -04:00
debug.js Replace $.each with _.each 2013-07-30 12:12:58 -04:00
dict.js Add Dict.each(). 2013-08-14 14:24:38 -04:00
emoji.js Replace $.each with _.each 2013-07-30 12:12:58 -04:00
feature_flags.js Display the email address for a stream in its stream page detail. 2013-08-13 14:28:47 -04:00
filter.js Move Filter class to filter.js from narrow.js. 2013-08-12 13:58:32 -04:00
hashchange.js Add administrative panel to allow for user deactivations etc. 2013-08-13 14:20:18 -04:00
hotkey.js Remove respond_to_cursor flag. 2013-08-13 14:12:28 -04:00
initial_invite.js Replace $.each with _.each 2013-07-30 12:12:58 -04:00
invite.js Replace $.each with _.each 2013-07-30 12:12:58 -04:00
landing-page.js Replace $.each with _.each 2013-07-30 12:12:58 -04:00
message_edit.js Use msg_list.get_row(id) instead of rows.get(id, msg_list.table_name) 2013-08-14 17:08:32 -04:00
message_list.js Instead of DOM lookups, implement get_row in O(1) with a map updated after rendering. 2013-08-14 17:08:47 -04:00
message_tour.js Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00
metrics.js Rename our custom JS events to use Zulip, not Zephyr. 2013-07-29 12:11:26 -04:00
narrow.js Use msg_list.get_row(id) instead of rows.get(id, msg_list.table_name) 2013-08-14 17:08:32 -04:00
navigate.js Restore centering when using the down arrow (or "j"). 2013-08-05 16:10:01 -04:00
notifications.js Fix unread count badge on OS X desktop app 2013-08-14 17:30:16 -04:00
notifications_bar.js Add curly braces for all javascript if statements lacking them. 2013-08-01 11:47:54 -04:00
onboarding.js New onboarding step: Set up an integration. 2013-08-08 17:23:27 -04:00
popovers.js Use msg_list.get_row(id) instead of rows.get(id, msg_list.table_name) 2013-08-14 17:08:32 -04:00
referral.js Less confusing placeholder names for "Share the Love". 2013-08-14 10:12:34 -04:00
reload.js Save the original initial_pointer when updating it on reload. 2013-08-13 18:09:19 -04:00
rows.js Instead of DOM lookups, implement get_row in O(1) with a map updated after rendering. 2013-08-14 17:08:47 -04:00
search.js Removed match_on_visible_text() in search.js. 2013-08-02 17:28:04 -04:00
search_suggestion.js Move Filter class to filter.js from narrow.js. 2013-08-12 13:58:32 -04:00
settings.js Allow user to change their API key. 2013-08-08 13:03:09 -04:00
setup.js Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00
signup.js Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00
stream_color.js Add a test for stream_color.js (pick_color). 2013-08-09 12:29:02 -04:00
stream_list.js Make the left sidebar and right sidebar more consistent. 2013-08-13 16:34:16 -04:00
subs.js Display the email address for a stream in its stream page detail. 2013-08-13 14:28:47 -04:00
summary.js Extract mark_summarized(). 2013-08-13 11:26:12 -04:00
tab_bar.js Use Dict everywhere we have keys based on potentially dangerous, user-supplied data 2013-08-09 17:35:14 -04:00
templates.js Add a handlebars helper for variadic compound AND conditions. 2013-08-13 14:28:47 -04:00
timerender.js Replace $.each with _.each 2013-07-30 12:12:58 -04:00
tutorial.js Defer processing of get_old_messages results during tutorial. 2013-08-12 10:17:18 -04:00
typeahead_helper.js Add curly braces for all javascript if statements lacking them. 2013-08-01 11:47:54 -04:00
ui.js Use msg_list.get_row(id) instead of rows.get(id, msg_list.table_name) 2013-08-14 17:08:32 -04:00
unread.js Use Dict everywhere we have keys based on potentially dangerous, user-supplied data 2013-08-09 17:35:14 -04:00
util.js Add util.enforce_arity 2013-08-09 17:12:23 -04:00
viewport.js Use msg_list.get_row(id) instead of rows.get(id, msg_list.table_name) 2013-08-14 17:08:32 -04:00
zulip.js Use msg_list.get_row(id) instead of rows.get(id, msg_list.table_name) 2013-08-14 17:08:32 -04:00