浏览代码

Fix the reordeable-rows extension

Dennis Hernández 10 年之前
父节点
当前提交
312f38c54e
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/extensions/reorder-rows/bootstrap-table-reorder-rows.js

+ 3 - 3
src/extensions/reorder-rows/bootstrap-table-reorder-rows.js

@@ -55,11 +55,11 @@
             this.options.rowAttributes = rowAttr;
         }
 
-        var onPostRows = this.options.onPostRows;
-        this.options.onPostRows = function () {
+        var onPostBody = this.options.onPostBody;
+        this.options.onPostBody = function () {
             setTimeout(function () {
                 that.makeRowsReorderable();
-                onPostRows.apply();
+                onPostBody.apply();
             }, 1);
         };
     };