Add link on App Name in Navbar
Benjamin Renard

Benjamin Renard commited on 2014-01-12 22:22:37
Showing 2 changed files, with 3 additions and 1 deletions.

... ...
@@ -574,6 +574,8 @@ $( document ).ready( function() {
574 574
   }
575 575
   sync_server=new SyncServer();
576 576
 
577
+  $('#app-name').bind('click',view_home);
578
+
577 579
   $('#add_group_btn').bind('click',on_click_add_group_btn);
578 580
   $('#add_group_submit').bind('click',on_valid_add_group_modal);
579 581
   $("#add_group_modal").on('shown.bs.modal',on_show_add_group_modal);
... ...
@@ -63,7 +63,7 @@ body{
63 63
             <span class="icon-bar"></span>
64 64
             <span class="icon-bar"></span>
65 65
           </button>
66
-          <a class="navbar-brand">MyCo</a>
66
+          <a class="navbar-brand" id='app-name'>MyCo</a>
67 67
         </div>
68 68
         <div class="collapse navbar-collapse"  id="navbar-groupe-collapse">
69 69
           <ul class="nav navbar-nav">
70 70