Commit b965a22c133396dedf7dba99831fc80ae72cca61

Authored by Paolo Cristiani
Committed by Igor Kulikov
1 parent 2cc6203c

fix #1866 and #1896 by avoid unwanted events propagation stop on HTML… (#1901)

* fix #1866 and #1896 by avoid unwanted events propagation stop on HTML elements inside HTML widgets

* Revert changes into package-lock.json
... ... @@ -439,13 +439,13 @@ export default function WidgetController($scope, $state, $timeout, $window, $ocL
439 439 }
440 440
441 441 function elementClick(event) {
442   - event.stopPropagation();
443 442 var e = event.target || event.srcElement;
444 443 if (e.id) {
445 444 var descriptors = getActionDescriptors('elementClick');
446 445 if (descriptors.length) {
447 446 for (var i = 0; i < descriptors.length; i++) {
448 447 if (descriptors[i].name == e.id) {
  448 + event.stopPropagation();
449 449 var entityInfo = getActiveEntityInfo();
450 450 var entityId = entityInfo ? entityInfo.entityId : null;
451 451 var entityName = entityInfo ? entityInfo.entityName : null;
... ...