ソースを参照

Modify the scope of the column events.

zhixin 11 年 前
コミット
9f946ccb2a
1 ファイル変更1 行追加1 行削除
  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]);
                     });
                     });
                 });
                 });
             }
             }