@osimatic/helpers-js 1.0.78 → 1.0.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -110,13 +110,15 @@ class MultipleActionInTable {
110
110
  class MultipleActionInDivList {
111
111
  // init checkbox
112
112
  static init(contentDiv) {
113
- // Si aucune div sélectionnable, on n'applique pas le plugin
114
- if (!contentDiv.find('.multiple_action').length) {
113
+ let buttonsDiv = MultipleActionInDivList.getButtonsDiv(contentDiv);
114
+ if (buttonsDiv == null) {
115
115
  return;
116
116
  }
117
117
 
118
- let buttonsDiv = MultipleActionInDivList.getButtonsDiv(contentDiv);
119
- if (buttonsDiv == null) {
118
+ buttonsDiv.addClass('hide');
119
+
120
+ // Si aucune div sélectionnable, on n'applique pas le plugin
121
+ if (!contentDiv.find('.multiple_action').length) {
120
122
  return;
121
123
  }
122
124
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osimatic/helpers-js",
3
- "version": "1.0.78",
3
+ "version": "1.0.79",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"