Commit 308dfc36 authored by randx's avatar randx

Fix back button for tree navigation

parent afecb250
......@@ -61,7 +61,7 @@
ajaxGet('#{@logs_path}');
});
- if params[:path] && request.xhr?
- if @path.present? && request.xhr?
:javascript
$(window).unbind('popstate');
$(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