Fix #5660 - roojs docs - linking and other tidy ups
authorAlan Knowles <alan@roojs.com>
Mon, 14 Jan 2019 07:15:51 +0000 (15:15 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 14 Jan 2019 07:15:51 +0000 (15:15 +0800)
docs/Roo.docs.init.js

index 7c626c4..dbf8fdd 100644 (file)
@@ -426,7 +426,7 @@ Roo.docs.init = {
                     if (treeiii.name == 'Examples') {
                         for (var j =0;j< treeiii.cn.length; j++) {
                             var exs = treeiii.cn[j].name.match(/^\[([^\]]+)\](.*)$/);
-                            footer += '<li><a href="../' + exs[1] + '">'+exs[2] + '</a></li>';
+                            footer += '<li><a target="_blank" href="../' + exs[1] + '">'+exs[2] + '</a></li>';
                         }
                         continue;
                         
@@ -444,7 +444,7 @@ Roo.docs.init = {
                                    xtype : 'Link',
                                     href : '#' + ( ll ? ll[1] : treeiii.name ) ,
                                     html : ll ? ll[1] : treeiii.name,
-                                    target : "_new",
+                                    
                                     xns : Roo.bootstrap 
                                 },
                                 {