docs/Roo.docs.init.js
authorAlan Knowles <alan@roojs.com>
Thu, 28 Mar 2019 05:52:18 +0000 (13:52 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 28 Mar 2019 05:52:18 +0000 (13:52 +0800)
docs/Roo.docs.init.js

index b9e3b16..f8a82aa 100644 (file)
@@ -11,7 +11,7 @@ Roo.docs.init = {
     onReady : function()
     {
        
-       
+        
         Roo.XComponent.hideProgress = true;
         Roo.XComponent.build();
          
@@ -21,7 +21,9 @@ Roo.docs.init = {
             //Roo.XComponent.modules[0].el.fireEvent('render');
             this.loadTree();
         }, this);
-        
+        if (window.location.search.length > 0) {
+            this.prefix = window.location.search.substring(1);
+        }
         
         window.onhashchange = function() { Roo.docs.init.onHashChange(); }