share/views/public/js/app.js in rbbt-rest-1.4.10 vs share/views/public/js/app.js in rbbt-rest-1.4.11

- old
+ new

@@ -10,19 +10,19 @@ $('.rbbt_reveal_trigger').reveal() $('table').table() //$('table.tablesorter').tablesorter() $('body > #modal').modal() $('.action_controller').action_controller() - $('#top_menu li.favourites').favourites('update_list_selects').favourites('update_map_selects') + $('#top_menu .favourites').favourites('update_list_selects').favourites('update_map_selects') - start_defferred() + start_deferred() fit_content() } $(function(){ - register_dom_update('#top_menu > ul > li.reload', function(item){ + register_dom_update('#top_menu > .reload', function(item){ item.click(function(){ var url = window.location.toString(); url = url.replace(/#$/, ''); url = remove_parameter(url, '_update'); @@ -41,10 +41,10 @@ window.location = $(this).attr('href') return false; }) }) - $('#top_menu li.favourites').favourites() + $('#top_menu .favourites').favourites() update_rbbt() }) // Activate tools