summaryrefslogtreecommitdiffstats
path: root/hyperkitty/static
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-08-15 11:11:02 +0000
committerAurélien Bompard <aurelien@bompard.org>2013-08-15 11:11:22 +0000
commita77a567329baf8156a782c2dde8e80f38740a97a (patch)
treee8c149b96ba65236f91e03654b448d52013e0b7a /hyperkitty/static
parent4c1c013620909a0f3490d1a6582924a567dea455 (diff)
downloadhyperkitty-a77a567329baf8156a782c2dde8e80f38740a97a.tar.gz
hyperkitty-a77a567329baf8156a782c2dde8e80f38740a97a.tar.xz
hyperkitty-a77a567329baf8156a782c2dde8e80f38740a97a.zip
Load subscriptions asynchronously
Diffstat (limited to 'hyperkitty/static')
-rw-r--r--hyperkitty/static/hyperkitty/css/hyperkitty-base.css7
-rw-r--r--hyperkitty/static/hyperkitty/js/hyperkitty-userprofile.js5
2 files changed, 10 insertions, 2 deletions
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({