From 4637b20f43b53822082d75d8ae5587dfbe5d70df Mon Sep 17 00:00:00 2001 From: Zev Benjamin Date: Wed, 16 Jan 2013 15:25:52 -0500 Subject: [PATCH] Set up the subscriptions page when the page is shown instead of when its about to be shown This is needed for the next commit so that the loading indicator is created while its associated div is visible. (imported from commit 72d6ccc14158b49e0ea640ab818114869aa548bf) --- zephyr/static/js/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zephyr/static/js/ui.js b/zephyr/static/js/ui.js index 1db767c1f7..6fb85f7eca 100644 --- a/zephyr/static/js/ui.js +++ b/zephyr/static/js/ui.js @@ -501,7 +501,7 @@ $(function () { hashchange.changehash(browser_url); }); - $('#sidebar a[href="#subscriptions"]').on('show', subs.setup_page); + $('#sidebar a[href="#subscriptions"]').on('shown', subs.setup_page); var settings_status = $('#settings-status'); $("#settings-change-box form").ajaxForm({