zulip/static/js
Steve Howell a78a1ec36c Use <a> tags for links in the recipient/summary bars.
The main user-facing feature here is that users can open narrows
in new tabs or windows. Internally, it makes the HTML more semantic.

One consequence of making these elements into actual anchor tags
is that clicking on them no longer triggers this logic to
close the compose box when you click outside of it:

        // Unfocus our compose area if we click out of it. Don't let exits out
        // of modals or selecting text (for copy+paste) trigger cancelling.
        if (compose.composing() && !$(e.target).is("a") &&
            ($(e.target).closest(".modal").length === 0) &&
            window.getSelection().toString() === "") {
            compose.cancel();
        }

Instead of patching the above code, I elected to just call
compose.cancel() explicitly in the click handlers for the links
themselves.

We are gonna try to clean up the compose-box behavior globally soon.

(imported from commit c9a01916f1714fe3dd495d25c78cd5e5532105ef)
2013-10-09 17:09:10 -04:00
..
activity.js Set focus-related flags correctly after a server reload 2013-09-16 12:29:34 -04:00
admin.js Maintain a list of people in the realm. 2013-09-09 12:13:33 -04:00
alert_words.js Feature-flag alert words to staging + reddit 2013-09-05 10:21:39 -04:00
alert_words_ui.js Move code to alert_words_ui.js 2013-09-09 12:06:45 -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 blueslip: Get complete stack traces in Chrome 2013-08-15 13:16:40 -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 Block mit.edu from showing mention invitations 2013-09-18 11:50:58 -04:00
compose_fade.js Disable compose fading for incomplete/wrong stream names 2013-09-25 14:43:43 -04:00
composebox_typeahead.js Don't autocomplete mentions while message editing 2013-09-27 13:32:02 -04: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
emoji.js Show realm emoji in typeahead and update the list via events. 2013-08-23 21:39:29 -04:00
feature_flags.js Turn on alert words for everyone. 2013-10-05 15:50:05 -04:00
filter.js Decode operand in filter.js in operator-aware way 2013-10-02 12:11:15 -04:00
hashchange.js Add administrative panel to allow for user deactivations etc. 2013-08-13 14:20:18 -04:00
hotkey.js Add expectOne() check when hitting enter to expand 2013-09-11 14:13:17 -04:00
initial_invite.js Replace $.each with _.each 2013-07-30 12:12:58 -04:00
invite.js Create stream_data.js module. 2013-08-19 12:17:55 -04:00
landing-page.js Replace $.each with _.each 2013-07-30 12:12:58 -04:00
message_edit.js Respect enter-to-send in edit box 2013-09-27 13:52:14 -04:00
message_list.js Select closest id in MessageList.rerender(). 2013-09-30 16:18:18 -04:00
message_list_view.js Use <a> tags for links in the recipient/summary bars. 2013-10-09 17:09:10 -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
muting.js Handle undefined keys in muting.is_topic_muted 2013-09-11 16:47:36 -04:00
muting_ui.js Add muted_topic style to the topics stylebar. 2013-09-30 16:52:19 -04:00
narrow.js Use <a> tags for links in the recipient/summary bars. 2013-10-09 17:09:10 -04:00
navigate.js Restore centering when using the down arrow (or "j"). 2013-08-05 16:10:01 -04:00
notifications.js Set focus-related flags correctly after a server reload 2013-09-16 12:29:34 -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 Check the 'Get our apps' checkbox if you click any of the links to the apps page 2013-09-19 13:23:35 -04:00
popovers.js Fix bug with muting topics that are all integers. 2013-09-30 16:52:19 -04:00
referral.js Add retractable left sidebar. 2013-08-23 14:16:51 -07:00
reload.js [schema] Collect data on when users are active on site. 2013-09-10 13:25:59 -04:00
rows.js Make narrowing click handlers work more generally. 2013-08-27 15:46:33 -04:00
search.js Move parse/unparse from narrow to Filter. 2013-08-22 14:53:00 -04:00
search_suggestion.js Autocomplete emails in sender: completion 2013-10-07 14:55:58 -04:00
settings.js Move code to alert_words_ui.js 2013-09-09 12:06:45 -04:00
setup.js Move zephyr/static to just static. 2013-07-29 12:11:26 -04:00
signup.js Make login form validation errors not wrap 2013-09-16 14:20:43 -04:00
stream_color.js Add a test for stream_color.js (pick_color). 2013-08-09 12:29:02 -04:00
stream_data.js Call blueslip.warn from stream_data.js functions. 2013-09-24 16:19:53 -04:00
stream_list.js Add muted_topic style to the topics stylebar. 2013-09-30 16:52:19 -04:00
subs.js Eliminate transitional email forwarding flags 2013-09-24 16:19:54 -04:00
summary.js Extract mark_summarized(). 2013-08-13 11:26:12 -04:00
tab_bar.js Create stream_data.js module. 2013-08-19 12:17:55 -04:00
templates.js Don't wait for DOM ready to register Handlebars helpers 2013-08-27 15:32:20 -04:00
timerender.js Better date separator rendering 2013-09-11 11:50:17 -07:00
tutorial.js Show desktop apps alert when tutorial completes 2013-09-19 13:23:35 -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 <a> tags for links in the recipient/summary bars. 2013-10-09 17:09:10 -04:00
unread.js [important] Fix stacktrace in unread.js. 2013-09-29 22:42:33 -04:00
util.js Add a `.expectOne` method to jQuery objects. 2013-09-04 16:44:33 -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 Add muting_enabled option to MessageList. 2013-09-23 10:53:06 -04:00