Reader/Feed.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 12 May 2016 07:04:28 +0000 (15:04 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 12 May 2016 07:04:28 +0000 (15:04 +0800)
Reader/Feed.js
Reader/templates/Feed.html

Reader/Feed.bjs
Reader/Feed.js
Reader/templates/Feed.html

index f387f20..a86bf2a 100644 (file)
        ]
       },
       {
+       "listeners" : {
+        "click" : "function (_self, e)\n{\n   if (_this.table.el.hasClass('hidden')) { \n        _this.table.show(); // hopefully...\n        _this.articleCtr.show();\n    }\n}"
+       },
        "String href" : "#",
+       "Boolean preventDefault" : true,
        "xtype" : "Link",
        "$ xns" : "Roo.bootstrap",
        "String html" : "<i class=\"fa fa-chevron-left\"></i> Name of feed"
index d6aba35..ecb46be 100644 (file)
@@ -85,9 +85,19 @@ Feed = new Roo.XComponent({
       {
        href : '#',
        html : _this._strings['2efe14eb257ad32579ef6080d295c3af'] /* <i class="fa fa-chevron-left"></i> Name of feed */,
+       preventDefault : true,
        xns : Roo.bootstrap,
        '|xns' : 'Roo.bootstrap',
-       xtype : 'Link'
+       xtype : 'Link',
+       listeners : {
+        click : function (_self, e)
+         {
+            if (_this.table.el.hasClass('hidden')) { 
+                 _this.table.show(); // hopefully...
+                 _this.articleCtr.show();
+             }
+         }
+       }
       }
      ]
     },
index 767d0bb..29ee4dd 100644 (file)
@@ -41,7 +41,7 @@ color: white;" xtype="Roo.bootstrap.Link">name of feed</A>
   </HEADER>
   <DIV id="table" style="margin-top: 50px; position: relative;" class=" " xtype="Roo.bootstrap.Table">
     <TABLE class="table table-striped table-hover table-responsive TableGrid">
-      <TBODY xbuilderid="roo-gen14">
+      <TBODY xbuilderid="roo-gen15">
         <TR>
           <TD colspan="1"></TD>
         </TR>
@@ -52,8 +52,8 @@ color: white;" xtype="Roo.bootstrap.Link">name of feed</A>
         </TR>
       </TFOOT>
     </TABLE>
-    <DIV class="roo-el-mask" xbuilderid="roo-gen17" style="z-index: 100; display: none;"></DIV>
-    <DIV class="roo-el-mask-msg roo-el-mask-msg" xbuilderid="roo-gen18" style="position: relative; left: 0px; top: -25px; z-index: 102; display: none;">
+    <DIV class="roo-el-mask" xbuilderid="roo-gen18" style="z-index: 100; display: none;"></DIV>
+    <DIV class="roo-el-mask-msg roo-el-mask-msg" xbuilderid="roo-gen19" style="position: relative; left: 0px; top: -25px; z-index: 102; display: none;">
       <DIV>Loading...</DIV>
     </DIV>
   </DIV>