Commit 5945f90375a62053aee4f92384ce82f41bb316f5

Authored by Francisco Marcelo de Araújo Lima Júnior
1 parent 099e3ba3
Exists in master

#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 8 case 'live':
9 9 load_more_messages();
10 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 15 function load_more_messages() {
23 16 var hub_id = jQuery(".hub").attr('id');
24 17 var oldest_id = jQuery("#live-posts li.post").last().attr("id");
... ... @@ -323,6 +316,7 @@ function hub_right_tab_click() {
323 316 jQuery("#right-tab").removeClass('hide');
324 317 jQuery("#right-tab").addClass('show');
325 318 jQuery(".hub #right-tab.show h1.live").click(hub_left_tab_click);
  319 + update_mediations();
326 320 }
327 321  
328 322 first_hub_load = true;
... ... @@ -363,6 +357,5 @@ jQuery(document).ready(function() {
363 357 jQuery("body").addClass("loading");
364 358  
365 359 update_live_stream(true);
366   - update_mediations();
367 360  
368 361 });
... ...