zulip/zephyr/static/js
Zev Benjamin f1e644ece8 Fix "multiple popovers can appear" issue.
The reproducer for the issue here is:
- Scroll to the top of your feed
- Click on a stream name
- Open a popover
- Click on a subject name
- Note that your old popover doesn't go away, and that you can open
  a new one.

The problem was that when we narrow, we call jQuery.empty() on the
zfilt table. That not only removes nodes but also clears event
handlers and jquery data. Thus, even though we have a reference to
the old popover element in the ui module, the element has forgotten
it had a popover. When we call .popover("destroy") it actually
creates a new popover, but never shows it.

(imported from commit 9721d60c78549bd2362833590b304952f2bdef2d)
2012-11-21 18:02:33 -05:00
..
common.js Module pattern for compose.js 2012-10-18 15:11:25 -04:00
compose.js Module pattern for ui.js 2012-11-19 23:31:22 -05:00
composebox_typeahead.js Have smarter PM autocomplete: sort based on who you Humbug the most. 2012-11-20 15:08:49 -05:00
debug.js Update comment in debug.js 2012-10-29 23:21:00 -04:00
hotkey.js Module pattern for ui.js 2012-11-19 23:31:22 -05:00
narrow.js Add "time travel" feature. 2012-11-20 17:17:39 -05:00
reload.js Module pattern for ui.js 2012-11-19 23:31:22 -05:00
rows.js Return an int from rows.id 2012-11-07 11:51:03 -05:00
search.js Implement full history search by creating a narrow for a search term 2012-11-19 17:12:59 -05:00
setup.js Redirect to /accounts/login if an Ajax call fails because we aren't logged in 2012-11-20 21:49:11 -05:00
signup.js Document the selctors in signup.js per trac #327 2012-11-09 15:03:08 -05:00
subs.js Module pattern for ui.js 2012-11-19 23:31:22 -05:00
typeahead_helper.js Have smarter PM autocomplete: sort based on who you Humbug the most. 2012-11-20 15:08:49 -05:00
ui.js Refactor replace_floating_recipient_bar to reduce code duplication. 2012-11-21 16:44:04 -05:00
zephyr.js Fix "multiple popovers can appear" issue. 2012-11-21 18:02:33 -05:00