Browse Source

Fix the reordeable-rows extension

Dennis Hernández 10 years ago
parent
commit
312f38c54e
1 changed files with 3 additions and 3 deletions
  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;
             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);
         };
         };
     };
     };