Zulip 服务器和 Web 应用程序。开源团队聊天可帮助团队保持高效和专注。
Go to file
Tim Abbott fa239ea270 hashchange: Don't change the hash when called from hashchange code.
I generally don't like this sort of state variable, but I don't see a
better solution.  The codepath is that when you start out on the
subscriptions page and then click one of the left sidebar links to
narrow to something:

(1) hashchanged() would call ui.change_tab
(2) ui.change_tab triggers a gear change event
(3) The ui.js gear-changed event handler updates the hash

Resulting in the hash ending up at "#".  Since there's no easy way to
pass arguments through to the event handler, we just use a global
variable inside hash_change.js to track whether we're currently
handling a hashchange event.

(imported from commit 7bb905a223b5539240fc36de7896ee8074ebc62e)
2013-04-03 14:49:32 -04:00
api Make the API bindings method for removing subscriptions have the same name we use in our example 2013-04-01 13:05:57 -04:00
assets favicon: Add an 'infinite' favicon for more than 99 messages 2013-02-15 16:18:24 -05:00
bots Check for USER env var before accessing it 2013-03-22 16:20:10 -04: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 Add IP addresses for app frontends to ALLOWED_HOSTS. 2013-04-03 11:18:12 -04:00
node_modules Import Handlebars compiler and dependencies 2013-04-02 14:43:58 -04:00
servers Access the UserProfile's new email field rather than using User. 2013-04-02 12:07:08 -04:00
templates Update integrations copy to mention %40 hack 2013-04-03 10:21:06 -04:00
tools test-all: Run frontend tests after backend tests. 2013-04-02 16:27:13 -04:00
zephyr hashchange: Don't change the hash when called from hashchange code. 2013-04-03 14:49:32 -04: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