Roo/History.js
authorAlan Knowles <alan@roojs.com>
Fri, 15 Apr 2016 08:26:30 +0000 (16:26 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 15 Apr 2016 08:26:30 +0000 (16:26 +0800)
Roo/History.js

index 9351940..89d67c2 100644 (file)
@@ -305,13 +305,13 @@ Roo.History = new Roo.util.Observable({
 
                                // Setup Alias
                                this.Adapter.bind(window,'hashchange',function(){
-                                       _this.fireEvent(window,'popstate');
+                                       Roo.get(window).fireEvent('popstate');
                                });
 
                                // Initialise Alias
                                if ( this.getHash() ) {
                                        Roo.onReady(function(){
-                                               _this.Adapter.trigger(window,'hashchange');
+                                               Roo.get(window).fireEvent('hashchange');
                                        });
                                }
                        }