Browse Source

Modify the scope of the column events.

zhixin 11 years ago
parent
commit
9f946ccb2a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.js

@@ -1122,7 +1122,7 @@
                             row = that.data[index],
                             row = that.data[index],
                             value = row[that.header.fields[i]];
                             value = row[that.header.fields[i]];
 
 
-                        func(e, value, row, index);
+                        func.apply(this, [e, value, row, index]);
                     });
                     });
                 });
                 });
             }
             }