- $("#show_data").click(function () {
- $.ajax({ url: "<%= url_for :controller => :browse, :action => :start %>" });
+ $("#show_data").click(function (e) {
+ $.ajax({ url: $(this).attr('href'), success: function (sidebarHtml) {
+ startBrowse(sidebarHtml);
+ }});
+ e.preventDefault();