From a77a567329baf8156a782c2dde8e80f38740a97a Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Thu, 15 Aug 2013 11:11:02 +0000 Subject: Load subscriptions asynchronously --- hyperkitty/static/hyperkitty/css/hyperkitty-base.css | 7 +++++++ hyperkitty/static/hyperkitty/js/hyperkitty-userprofile.js | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'hyperkitty/static') diff --git a/hyperkitty/static/hyperkitty/css/hyperkitty-base.css b/hyperkitty/static/hyperkitty/css/hyperkitty-base.css index 85f6cc9..418d323 100644 --- a/hyperkitty/static/hyperkitty/css/hyperkitty-base.css +++ b/hyperkitty/static/hyperkitty/css/hyperkitty-base.css @@ -38,3 +38,10 @@ ul.nav.auth { .navbar .breadcrumb > li > .divider { color: #999999; } + + +/* Sometimes jQuery UI overwrites the Bootstrap values */ + +a, .ui-widget-content a { + color: #0088cc; +} diff --git a/hyperkitty/static/hyperkitty/js/hyperkitty-userprofile.js b/hyperkitty/static/hyperkitty/js/hyperkitty-userprofile.js index d755f6f..9658bb3 100644 --- a/hyperkitty/static/hyperkitty/js/hyperkitty-userprofile.js +++ b/hyperkitty/static/hyperkitty/js/hyperkitty-userprofile.js @@ -23,9 +23,10 @@ /* * Last viewed threads and votes in the user's profile */ -function update_user_profile_part(container, base_url) { +function update_user_profile_part(container) { container = $(container); - var loader = container.prev(".ajaxloader"); + base_url = container.attr("data-load-from"); + var loader = container.parent().find(".ajaxloader"); function _update(url) { loader.show(); $.ajax({ -- cgit