@osimatic/helpers-js 1.1.11 → 1.1.12

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.
@@ -165,6 +165,13 @@ class MultipleActionInDivList {
165
165
  let allCheckbox = contentDiv.find('input.action_multiple_checkbox');
166
166
  let allCheckboxChecked = contentDiv.find('input.action_multiple_checkbox:checked');
167
167
  let checkboxSelectAll = contentDiv.find('input.action_multiple_check_all');
168
+
169
+ if (allCheckbox.length === 0) {
170
+ checkboxSelectAll.addClass('hide');
171
+ return;
172
+ }
173
+
174
+ checkboxSelectAll.removeClass('hide');
168
175
  if (allCheckbox.length === allCheckboxChecked.length) {
169
176
  checkboxSelectAll.prop('checked', true);
170
177
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osimatic/helpers-js",
3
- "version": "1.1.11",
3
+ "version": "1.1.12",
4
4
  "main": "main.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"