Commit 5945f90375a62053aee4f92384ce82f41bb316f5
1 parent
099e3ba3
Exists in
community_hub_submodule
#community_dashboard - update theme
Showing
1 changed file
with
1 additions
and
8 deletions
Show diff stats
public/javascripts/community_hub.js
| @@ -8,17 +8,10 @@ function load_more(tab) { | @@ -8,17 +8,10 @@ function load_more(tab) { | ||
| 8 | case 'live': | 8 | case 'live': |
| 9 | load_more_messages(); | 9 | load_more_messages(); |
| 10 | break; | 10 | break; |
| 11 | - case 'mediation': | ||
| 12 | - load_more_mediations(); | ||
| 13 | - break; | ||
| 14 | } | 11 | } |
| 15 | } | 12 | } |
| 16 | 13 | ||
| 17 | 14 | ||
| 18 | -function load_more_mediations() {i | ||
| 19 | - // implement! | ||
| 20 | -} | ||
| 21 | - | ||
| 22 | function load_more_messages() { | 15 | function load_more_messages() { |
| 23 | var hub_id = jQuery(".hub").attr('id'); | 16 | var hub_id = jQuery(".hub").attr('id'); |
| 24 | var oldest_id = jQuery("#live-posts li.post").last().attr("id"); | 17 | var oldest_id = jQuery("#live-posts li.post").last().attr("id"); |
| @@ -323,6 +316,7 @@ function hub_right_tab_click() { | @@ -323,6 +316,7 @@ function hub_right_tab_click() { | ||
| 323 | jQuery("#right-tab").removeClass('hide'); | 316 | jQuery("#right-tab").removeClass('hide'); |
| 324 | jQuery("#right-tab").addClass('show'); | 317 | jQuery("#right-tab").addClass('show'); |
| 325 | jQuery(".hub #right-tab.show h1.live").click(hub_left_tab_click); | 318 | jQuery(".hub #right-tab.show h1.live").click(hub_left_tab_click); |
| 319 | + update_mediations(); | ||
| 326 | } | 320 | } |
| 327 | 321 | ||
| 328 | first_hub_load = true; | 322 | first_hub_load = true; |
| @@ -363,6 +357,5 @@ jQuery(document).ready(function() { | @@ -363,6 +357,5 @@ jQuery(document).ready(function() { | ||
| 363 | jQuery("body").addClass("loading"); | 357 | jQuery("body").addClass("loading"); |
| 364 | 358 | ||
| 365 | update_live_stream(true); | 359 | update_live_stream(true); |
| 366 | - update_mediations(); | ||
| 367 | 360 | ||
| 368 | }); | 361 | }); |