Commit 308dfc36b881443dc146b3f9b777c7f7f6475c90

Authored by randx
1 parent afecb250

Fix back button for tree navigation

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/tree/_tree.html.haml
... ... @@ -61,7 +61,7 @@
61 61 ajaxGet('#{@logs_path}');
62 62 });
63 63  
64   -- if params[:path] && request.xhr?
  64 +- if @path.present? && request.xhr?
65 65 :javascript
66 66 $(window).unbind('popstate');
67 67 $(window).bind('popstate', function() {
... ...