@wavemaker/app-ng-runtime 11.5.4-rc.5519 → 11.5.4-rc.5521
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.
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +5 -51
- app-ng-runtime/components/input/epoch/esm2020/date/imaskUtil.mjs +6 -52
- app-ng-runtime/components/input/epoch/fesm2015/index.mjs +5 -51
- app-ng-runtime/components/input/epoch/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/epoch/fesm2020/index.mjs +5 -51
- app-ng-runtime/components/input/epoch/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/package.json +1 -1
- app-ng-runtime/scripts/datatable/datatable.js +6 -2
app-ng-runtime/package.json
CHANGED
|
@@ -2689,6 +2689,7 @@ $.widget('wm.datatable', {
|
|
|
2689
2689
|
attachEventHandlers: function ($htm) {
|
|
2690
2690
|
var $header = this.gridHeaderElement,
|
|
2691
2691
|
self = this;
|
|
2692
|
+
var isMultiSelect = this.options.multiselect;
|
|
2692
2693
|
|
|
2693
2694
|
if (this.options.enableRowSelection) {
|
|
2694
2695
|
$htm[0].removeEventListener('click', this.rowClickHandlerOnCapture.bind(this), true);
|
|
@@ -2697,9 +2698,12 @@ $.widget('wm.datatable', {
|
|
|
2697
2698
|
// assign selectedItems so that any child actions can have access to the selectedItems.
|
|
2698
2699
|
$htm[0].addEventListener('click', this.rowClickHandlerOnCapture.bind(this), true);
|
|
2699
2700
|
$htm.on('click', this.rowSelectionHandler.bind(this));
|
|
2700
|
-
$htm.on("click", "
|
|
2701
|
+
$htm.on("click", "td *", function(event) {
|
|
2701
2702
|
// Prevent propagation to parent elements
|
|
2702
|
-
event.
|
|
2703
|
+
if(event.target.type != 'checkbox' && isMultiSelect){
|
|
2704
|
+
event.stopPropagation();
|
|
2705
|
+
}
|
|
2706
|
+
|
|
2703
2707
|
});
|
|
2704
2708
|
$htm.on('dblclick', this.rowDblClickHandler.bind(this));
|
|
2705
2709
|
$htm.on('keydown', this.onKeyDown.bind(this));
|