ソースを参照

initialisation fix

David Coudrier 10 年 前
コミット
6201df0bb0

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

@@ -44,8 +44,6 @@
 
     BootstrapTable.prototype.init = function () {
 
-        _init.apply(this, Array.prototype.slice.apply(arguments));
-
         if (!this.options.reorderableRows) {
             return;
         }
@@ -62,6 +60,8 @@
                 onPostBody.apply();
             }, 1);
         };
+
+        _init.apply(this, Array.prototype.slice.apply(arguments));
     };
 
     BootstrapTable.prototype.initSearch = function () {