docs2/Roo.docs.init.js
authorAlan Knowles <alan@roojs.com>
Fri, 11 Jan 2019 09:03:58 +0000 (17:03 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 11 Jan 2019 09:03:58 +0000 (17:03 +0800)
docs2/Roo.docs.init.js

index 824abb5..2866e61 100644 (file)
@@ -163,7 +163,10 @@ Roo.docs.init = {
             method : 'GET',
             success : function(res, o)
             {
-                Roo.docs.ViewSource.show({ source : res.responseText});
+                Roo.docs.ViewSource.show({
+                        source : res.responseText,
+                        fname : this.currentClass.replace(/\./g,'/') + ".js"
+                });
                 
             },
             scope : this