@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
|
-
|
|
114
|
-
if (
|
|
113
|
+
let buttonsDiv = MultipleActionInDivList.getButtonsDiv(contentDiv);
|
|
114
|
+
if (buttonsDiv == null) {
|
|
115
115
|
return;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
|
|
119
|
-
|
|
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
|
|