ソースを参照

Fix the reordeable-rows extension

Dennis Hernández 11 年 前
コミット
312f38c54e

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

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