Commit 308dfc36 authored by randx's avatar randx

Fix back button for tree navigation

parent afecb250
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
ajaxGet('#{@logs_path}'); ajaxGet('#{@logs_path}');
}); });
- if params[:path] && request.xhr? - if @path.present? && request.xhr?
:javascript :javascript
$(window).unbind('popstate'); $(window).unbind('popstate');
$(window).bind('popstate', function() { $(window).bind('popstate', function() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment