Pman.Dialog.CmsBlog.bjs
[Pman.Cms] / Pman.Tab.CmsTranslateTemplates.js
index 941bf50..565539a 100644 (file)
@@ -417,7 +417,9 @@ Pman.Tab.CmsTranslateTemplates = new Roo.XComponent({
          },
         rowdblclick : function (_self, rowIndex, e)
          {
-             if (!_this.dialog) return;
+             if (!_this.dialog) {
+                 return;
+             }
              _this.dialog.show( this.getDataSource().getAt(rowIndex).data, function() {
                  _this.grid.footer.onClick('first');
              }); 
@@ -446,6 +448,10 @@ Pman.Tab.CmsTranslateTemplates = new Roo.XComponent({
            render : function (_self)
             {
                 _this.searchBox = this;
+            },
+           specialkey : function (_self, e)
+            {
+            _this.grid.footer.onClick('first');
             }
           }
          },
@@ -503,7 +509,7 @@ Pman.Tab.CmsTranslateTemplates = new Roo.XComponent({
               o.params['!src_id'] = 0;
               
               if (_this.searchBox && _this.searchBox.getValue().length) { 
-                  o.params['_search_txt'] = this.searchBox.getValue();
+                  o.params['_search_txt'] = _this.searchBox.getValue();
               }