Roo/bootstrap/Table.js
authoredward <edward@roojs.com>
Mon, 27 Mar 2017 04:45:49 +0000 (12:45 +0800)
committeredward <edward@roojs.com>
Mon, 27 Mar 2017 04:45:49 +0000 (12:45 +0800)
Roo/bootstrap/Table.js

index 58eace8..8a99454 100644 (file)
@@ -355,12 +355,11 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
         var is_header = false;
         
         if(e.getTarget().nodeName.toLowerCase() != 'td'){
-            cell = cell.findParent('td', false, true);
+            cell = Roo.get(t).findParent('td', false, true);
         }
         
         if(!cell){
-            Roo.log(cell);
-            cell = cell.findParent('th', false, true);
+            cell = Roo.get(t).findParent('th', false, true);
             is_header = true;
         }