浏览代码

Fixed ReorderRows init when reorderable is false

When the ReorderabledRows property is false or not present, the rest of
bootstraptable was not inited properly. (Since commit 6201df0)
Robert Nordan 10 年之前
父节点
当前提交
7df299082a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/extensions/reorder-rows/bootstrap-table-reorder-rows.js

+ 1 - 0
src/extensions/reorder-rows/bootstrap-table-reorder-rows.js

@@ -45,6 +45,7 @@
     BootstrapTable.prototype.init = function () {
 
         if (!this.options.reorderableRows) {
+            _init.apply(this, Array.prototype.slice.apply(arguments));
             return;
         }