ソースを参照

Release 1.12.2

zhixin 7 年 前
コミット
f59f1dbcde
100 ファイル変更132 行追加110 行削除
  1. 4 0
      CHANGELOG.md
  2. 1 1
      bootstrap-table.jquery.json
  3. 1 1
      dist/bootstrap-table-locale-all.min.js
  4. 1 1
      dist/bootstrap-table.css
  5. 2 2
      dist/bootstrap-table.js
  6. 2 2
      dist/bootstrap-table.min.js
  7. 1 1
      dist/extensions/accent-neutralise/bootstrap-table-accent-neutralise.min.js
  8. 1 1
      dist/extensions/angular/bootstrap-table-angular.min.js
  9. 1 1
      dist/extensions/auto-refresh/bootstrap-table-auto-refresh.min.js
  10. 1 1
      dist/extensions/click-edit-row/bootstrap-table-click-edit-row.min.js
  11. 1 1
      dist/extensions/cookie/bootstrap-table-cookie.min.js
  12. 1 1
      dist/extensions/copy-rows/bootstrap-table-copy-rows.min.js
  13. 1 1
      dist/extensions/defer-url/bootstrap-table-defer-url.min.js
  14. 1 1
      dist/extensions/editable/bootstrap-table-editable.min.js
  15. 1 1
      dist/extensions/export/bootstrap-table-export.min.js
  16. 1 1
      dist/extensions/filter-control/bootstrap-table-filter-control.min.js
  17. 1 1
      dist/extensions/filter/bootstrap-table-filter.min.js
  18. 1 1
      dist/extensions/flat-json/bootstrap-table-flat-json.min.js
  19. 5 1
      dist/extensions/group-by-v2/bootstrap-table-group-by.css
  20. 1 1
      dist/extensions/group-by-v2/bootstrap-table-group-by.min.js
  21. 1 1
      dist/extensions/group-by/bootstrap-table-group-by.min.js
  22. 1 1
      dist/extensions/i18n-enhance/bootstrap-table-i18n-enhance.min.js
  23. 1 1
      dist/extensions/key-events/bootstrap-table-key-events.min.js
  24. 1 1
      dist/extensions/mobile/bootstrap-table-mobile.min.js
  25. 1 1
      dist/extensions/multi-column-toggle/bootstrap-table-multi-toggle.min.js
  26. 1 1
      dist/extensions/multiple-search/bootstrap-table-multiple-search.min.js
  27. 1 1
      dist/extensions/multiple-selection-row/bootstrap-table-multiple-selection-row.min.js
  28. 1 1
      dist/extensions/multiple-sort/bootstrap-table-multiple-sort.min.js
  29. 1 1
      dist/extensions/natural-sorting/bootstrap-table-natural-sorting.min.js
  30. 1 1
      dist/extensions/page-jumpto/bootstrap-table-jumpto.min.js
  31. 1 1
      dist/extensions/print/bootstrap-table-print.min.js
  32. 1 1
      dist/extensions/reorder-columns/bootstrap-table-reorder-columns.min.js
  33. 1 1
      dist/extensions/reorder-rows/bootstrap-table-reorder-rows.min.js
  34. 1 1
      dist/extensions/resizable/bootstrap-table-resizable.min.js
  35. 1 1
      dist/extensions/select2-filter/bootstrap-table-select2-filter.min.js
  36. 1 1
      dist/extensions/sticky-header/bootstrap-table-sticky-header.min.js
  37. 1 1
      dist/extensions/toolbar/bootstrap-table-toolbar.min.js
  38. 1 1
      dist/extensions/tree-column/bootstrap-table-tree-column.min.js
  39. 22 8
      dist/extensions/treegrid/bootstrap-table-treegrid.js
  40. 2 2
      dist/extensions/treegrid/bootstrap-table-treegrid.min.js
  41. 1 1
      dist/locale/bootstrap-table-af-ZA.min.js
  42. 1 1
      dist/locale/bootstrap-table-ar-SA.min.js
  43. 1 1
      dist/locale/bootstrap-table-ca-ES.min.js
  44. 1 1
      dist/locale/bootstrap-table-cs-CZ.min.js
  45. 1 1
      dist/locale/bootstrap-table-da-DK.min.js
  46. 1 1
      dist/locale/bootstrap-table-de-DE.min.js
  47. 1 1
      dist/locale/bootstrap-table-el-GR.min.js
  48. 1 1
      dist/locale/bootstrap-table-en-US.min.js
  49. 1 1
      dist/locale/bootstrap-table-es-AR.min.js
  50. 1 1
      dist/locale/bootstrap-table-es-CL.min.js
  51. 1 1
      dist/locale/bootstrap-table-es-CR.min.js
  52. 1 1
      dist/locale/bootstrap-table-es-ES.min.js
  53. 1 1
      dist/locale/bootstrap-table-es-MX.min.js
  54. 1 1
      dist/locale/bootstrap-table-es-NI.min.js
  55. 1 1
      dist/locale/bootstrap-table-es-SP.min.js
  56. 1 1
      dist/locale/bootstrap-table-et-EE.min.js
  57. 1 1
      dist/locale/bootstrap-table-eu-EU.min.js
  58. 1 1
      dist/locale/bootstrap-table-fa-IR.min.js
  59. 1 1
      dist/locale/bootstrap-table-fr-BE.min.js
  60. 1 1
      dist/locale/bootstrap-table-fr-FR.min.js
  61. 1 1
      dist/locale/bootstrap-table-he-IL.min.js
  62. 1 1
      dist/locale/bootstrap-table-hr-HR.min.js
  63. 1 1
      dist/locale/bootstrap-table-hu-HU.min.js
  64. 1 1
      dist/locale/bootstrap-table-id-ID.min.js
  65. 1 1
      dist/locale/bootstrap-table-it-IT.min.js
  66. 1 1
      dist/locale/bootstrap-table-ja-JP.min.js
  67. 1 1
      dist/locale/bootstrap-table-ka-GE.min.js
  68. 1 1
      dist/locale/bootstrap-table-ko-KR.min.js
  69. 1 1
      dist/locale/bootstrap-table-ms-MY.min.js
  70. 1 1
      dist/locale/bootstrap-table-nb-NO.min.js
  71. 1 1
      dist/locale/bootstrap-table-nl-NL.min.js
  72. 1 1
      dist/locale/bootstrap-table-pl-PL.min.js
  73. 1 1
      dist/locale/bootstrap-table-pt-BR.min.js
  74. 1 1
      dist/locale/bootstrap-table-pt-PT.min.js
  75. 1 1
      dist/locale/bootstrap-table-ro-RO.min.js
  76. 1 1
      dist/locale/bootstrap-table-ru-RU.min.js
  77. 1 1
      dist/locale/bootstrap-table-sk-SK.min.js
  78. 1 1
      dist/locale/bootstrap-table-sv-SE.min.js
  79. 1 1
      dist/locale/bootstrap-table-th-TH.min.js
  80. 1 1
      dist/locale/bootstrap-table-tr-TR.min.js
  81. 1 1
      dist/locale/bootstrap-table-uk-UA.min.js
  82. 1 1
      dist/locale/bootstrap-table-ur-PK.min.js
  83. 1 1
      dist/locale/bootstrap-table-uz-Latn-UZ.min.js
  84. 1 1
      dist/locale/bootstrap-table-vi-VN.min.js
  85. 1 1
      dist/locale/bootstrap-table-zh-CN.min.js
  86. 1 1
      dist/locale/bootstrap-table-zh-TW.min.js
  87. 1 1
      docs/dist/bootstrap-table-locale-all.min.js
  88. 1 1
      docs/dist/bootstrap-table.css
  89. 2 2
      docs/dist/bootstrap-table.js
  90. 2 2
      docs/dist/bootstrap-table.min.js
  91. 1 1
      docs/dist/extensions/accent-neutralise/bootstrap-table-accent-neutralise.min.js
  92. 1 1
      docs/dist/extensions/angular/bootstrap-table-angular.min.js
  93. 1 1
      docs/dist/extensions/auto-refresh/bootstrap-table-auto-refresh.min.js
  94. 1 1
      docs/dist/extensions/click-edit-row/bootstrap-table-click-edit-row.min.js
  95. 1 1
      docs/dist/extensions/cookie/bootstrap-table-cookie.min.js
  96. 1 1
      docs/dist/extensions/copy-rows/bootstrap-table-copy-rows.min.js
  97. 1 1
      docs/dist/extensions/defer-url/bootstrap-table-defer-url.min.js
  98. 1 1
      docs/dist/extensions/editable/bootstrap-table-editable.min.js
  99. 1 1
      docs/dist/extensions/export/bootstrap-table-export.min.js
  100. 0 0
      docs/dist/extensions/filter-control/bootstrap-table-filter-control.min.js

+ 4 - 0
CHANGELOG.md

@@ -1,6 +1,10 @@
 ChangeLog
 ---------
 
+### 1.12.2
+
+- fix(js): fix #3656, toggle icon typo release error
+
 ### 1.12.1
 
 - fix(js): fix #3656, toggle icon typo

+ 1 - 1
bootstrap-table.jquery.json

@@ -1,6 +1,6 @@
 {
   "name": "bootstrap-table",
-  "version": "1.12.1",
+  "version": "1.12.2",
   "title": "Bootstrap Table",
   "description": "An extended Bootstrap table with radio, checkbox, sort, pagination, and other added features.",
   "author": {

+ 1 - 1
dist/bootstrap-table-locale-all.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/bootstrap-table.css

@@ -1,6 +1,6 @@
 /**
  * @author zhixin wen <wenzhixin2010@gmail.com>
- * version: 1.12.1
+ * version: 1.12.2
  * https://github.com/wenzhixin/bootstrap-table/
  */
 

+ 2 - 2
dist/bootstrap-table.js

@@ -1,6 +1,6 @@
 /**
  * @author zhixin wen <wenzhixin2010@gmail.com>
- * version: 1.12.1
+ * version: 1.12.2
  * https://github.com/wenzhixin/bootstrap-table/
  */
 
@@ -1166,7 +1166,7 @@
                     sprintf(' btn-%s', this.options.iconSize) +
                     '" type="button" name="toggle" aria-label="toggle" title="%s">',
                     this.options.formatToggle()),
-                sprintf('<i class="%s %s"></i>', this.options.iconsPrefix, this.options.icons.toggle),
+                sprintf('<i class="%s %s"></i>', this.options.iconsPrefix, this.options.icons.toggleOff),
                 '</button>');
         }
 

ファイルの差分が大きいため隠しています
+ 2 - 2
dist/bootstrap-table.min.js


+ 1 - 1
dist/extensions/accent-neutralise/bootstrap-table-accent-neutralise.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/angular/bootstrap-table-angular.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/auto-refresh/bootstrap-table-auto-refresh.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/click-edit-row/bootstrap-table-click-edit-row.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/cookie/bootstrap-table-cookie.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/copy-rows/bootstrap-table-copy-rows.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/defer-url/bootstrap-table-defer-url.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/editable/bootstrap-table-editable.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/export/bootstrap-table-export.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/filter-control/bootstrap-table-filter-control.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/filter/bootstrap-table-filter.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/flat-json/bootstrap-table-flat-json.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 5 - 1
dist/extensions/group-by-v2/bootstrap-table-group-by.css

@@ -4,4 +4,8 @@
 
 .bootstrap-table .table > tbody > tr.groupBy.expanded {
 
-}
+}
+
+.bootstrap-table .table > tbody > tr.hidden + tr.detail-view {
+    display: none;
+}

+ 1 - 1
dist/extensions/group-by-v2/bootstrap-table-group-by.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/group-by/bootstrap-table-group-by.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/i18n-enhance/bootstrap-table-i18n-enhance.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/key-events/bootstrap-table-key-events.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/mobile/bootstrap-table-mobile.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/multi-column-toggle/bootstrap-table-multi-toggle.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/multiple-search/bootstrap-table-multiple-search.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/multiple-selection-row/bootstrap-table-multiple-selection-row.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/multiple-sort/bootstrap-table-multiple-sort.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/natural-sorting/bootstrap-table-natural-sorting.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/page-jumpto/bootstrap-table-jumpto.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/print/bootstrap-table-print.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/reorder-columns/bootstrap-table-reorder-columns.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/reorder-rows/bootstrap-table-reorder-rows.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/resizable/bootstrap-table-resizable.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/select2-filter/bootstrap-table-select2-filter.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/sticky-header/bootstrap-table-sticky-header.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/toolbar/bootstrap-table-toolbar.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/extensions/tree-column/bootstrap-table-tree-column.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 22 - 8
dist/extensions/treegrid/bootstrap-table-treegrid.js

@@ -25,8 +25,15 @@
     });
 
     var BootstrapTable = $.fn.bootstrapTable.Constructor,
+        _init = BootstrapTable.prototype.init,
         _initRow = BootstrapTable.prototype.initRow,
-        _initHeader = BootstrapTable.prototype.initHeader;
+        _initHeader = BootstrapTable.prototype.initHeader,
+        _rowStyle = null;
+
+    BootstrapTable.prototype.init = function () {
+        _rowStyle = this.options.rowStyle;
+        _init.apply(this, Array.prototype.slice.apply(arguments));
+    };
 
     // td
     BootstrapTable.prototype.initHeader = function () {
@@ -59,11 +66,15 @@
                 node._last = 1;
             // jquery.treegrid.js
             that.options.rowStyle = function (item, idx) {
+                var res = _rowStyle.apply(that, Array.prototype.slice.apply(arguments));
                 var id = item[that.options.idField] ? item[that.options.idField] : 0;
                 var pid = item[that.options.parentIdField] ? item[that.options.parentIdField] : 0;
-                return {
-                    classes: 'treegrid-' + id + ' treegrid-parent-' + pid
-                };
+                res.classes = [
+                    res.classes || '',
+                    'treegrid-' + id,
+                    'treegrid-parent-' + pid
+                ].join(' ');
+                return res;
             };
             initTr.apply(that, [node, $.inArray(node, data), data, parentDom]);
         }
@@ -80,10 +91,13 @@
                 }
                 // jquery.treegrid.js
                 that.options.rowStyle = function (item, idx) {
+                    var res = _rowStyle.apply(that, Array.prototype.slice.apply(arguments));
                     var x = item[that.options.idField] ? item[that.options.idField] : 0;
-                    return {
-                        classes: 'treegrid-' + x
-                    };
+                    res.classes = [
+                        res.classes || '',
+                        'treegrid-' + x
+                    ].join(' ');
+                    return res;
                 };
                 initTr.apply(that, [item, idx, data, parentDom]);
                 return true;
@@ -92,4 +106,4 @@
         }
         return _initRow.apply(that, Array.prototype.slice.apply(arguments));
     };
-}(jQuery);
+}(jQuery);

ファイルの差分が大きいため隠しています
+ 2 - 2
dist/extensions/treegrid/bootstrap-table-treegrid.min.js


+ 1 - 1
dist/locale/bootstrap-table-af-ZA.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-ar-SA.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-ca-ES.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-cs-CZ.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-da-DK.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-de-DE.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-el-GR.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-en-US.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-es-AR.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-es-CL.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-es-CR.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-es-ES.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-es-MX.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-es-NI.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-es-SP.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-et-EE.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-eu-EU.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-fa-IR.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-fr-BE.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-fr-FR.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-he-IL.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-hr-HR.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-hu-HU.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-id-ID.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-it-IT.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-ja-JP.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-ka-GE.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-ko-KR.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-ms-MY.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-nb-NO.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-nl-NL.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-pl-PL.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-pt-BR.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-pt-PT.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-ro-RO.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-ru-RU.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-sk-SK.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-sv-SE.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-th-TH.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-tr-TR.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-uk-UA.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-ur-PK.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-uz-Latn-UZ.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-vi-VN.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-zh-CN.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
dist/locale/bootstrap-table-zh-TW.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
docs/dist/bootstrap-table-locale-all.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
docs/dist/bootstrap-table.css

@@ -1,6 +1,6 @@
 /**
  * @author zhixin wen <wenzhixin2010@gmail.com>
- * version: 1.12.1
+ * version: 1.12.2
  * https://github.com/wenzhixin/bootstrap-table/
  */
 

+ 2 - 2
docs/dist/bootstrap-table.js

@@ -1,6 +1,6 @@
 /**
  * @author zhixin wen <wenzhixin2010@gmail.com>
- * version: 1.12.1
+ * version: 1.12.2
  * https://github.com/wenzhixin/bootstrap-table/
  */
 
@@ -1166,7 +1166,7 @@
                     sprintf(' btn-%s', this.options.iconSize) +
                     '" type="button" name="toggle" aria-label="toggle" title="%s">',
                     this.options.formatToggle()),
-                sprintf('<i class="%s %s"></i>', this.options.iconsPrefix, this.options.icons.toggle),
+                sprintf('<i class="%s %s"></i>', this.options.iconsPrefix, this.options.icons.toggleOff),
                 '</button>');
         }
 

ファイルの差分が大きいため隠しています
+ 2 - 2
docs/dist/bootstrap-table.min.js


+ 1 - 1
docs/dist/extensions/accent-neutralise/bootstrap-table-accent-neutralise.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
docs/dist/extensions/angular/bootstrap-table-angular.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
docs/dist/extensions/auto-refresh/bootstrap-table-auto-refresh.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
docs/dist/extensions/click-edit-row/bootstrap-table-click-edit-row.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
docs/dist/extensions/cookie/bootstrap-table-cookie.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
docs/dist/extensions/copy-rows/bootstrap-table-copy-rows.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
docs/dist/extensions/defer-url/bootstrap-table-defer-url.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
docs/dist/extensions/editable/bootstrap-table-editable.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 1 - 1
docs/dist/extensions/export/bootstrap-table-export.min.js

@@ -1,5 +1,5 @@
 /*
-* bootstrap-table - v1.12.1 - 2018-03-12
+* bootstrap-table - v1.12.2 - 2018-11-29
 * https://github.com/wenzhixin/bootstrap-table
 * Copyright (c) 2018 zhixin wen
 * Licensed MIT License

+ 0 - 0
docs/dist/extensions/filter-control/bootstrap-table-filter-control.min.js


この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません