Fix back button for tree navigation
This commit is contained in:
parent
afecb250a4
commit
308dfc36b8
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue