jsgantt-improved
Advanced tools
Comparing version 2.4.9 to 2.4.10
@@ -64,2 +64,5 @@ "use strict"; | ||
if (vList[i].getParent() == pID) { | ||
if (!vList[i].getParItem()) { | ||
console.error("Cant find parent on who event (maybe problems with Task ID and Parent Id mixes?)"); | ||
} | ||
if (vList[i].getParItem().getGroupSpan()) { | ||
@@ -280,3 +283,3 @@ if (general_utils_1.isIE()) | ||
if (vTmpCell.children[0] && vTmpCell.children[0].children && vTmpCell.children[0].children[0]) { | ||
var selectInputOrButton = ['SELECT', 'INPUT', 'BUTTON'].find(function (k) { return k === vTmpCell.children[0].children[0].tagName; }); | ||
var selectInputOrButton = ['SELECT', 'INPUT', 'BUTTON'].filter(function (k) { return k === vTmpCell.children[0].children[0].tagName; }); | ||
if (selectInputOrButton) { | ||
@@ -283,0 +286,0 @@ exports.addListener(event, function (e) { |
{ | ||
"name": "jsgantt-improved", | ||
"version": "2.4.9", | ||
"version": "2.4.10", | ||
"description": "jsgantt-improved", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -71,2 +71,5 @@ import { | ||
if (vList[i].getParent() == pID) { | ||
if (!vList[i].getParItem()) { | ||
console.error(`Cant find parent on who event (maybe problems with Task ID and Parent Id mixes?)`); | ||
} | ||
if (vList[i].getParItem().getGroupSpan()) { | ||
@@ -301,3 +304,3 @@ if (isIE()) vState = vList[i].getParItem().getGroupSpan().innerText; | ||
if (vTmpCell.children[0] && vTmpCell.children[0].children && vTmpCell.children[0].children[0]) { | ||
const selectInputOrButton = ['SELECT', 'INPUT', 'BUTTON'].find(k => k === vTmpCell.children[0].children[0].tagName); | ||
const selectInputOrButton = ['SELECT', 'INPUT', 'BUTTON'].filter(k => k === vTmpCell.children[0].children[0].tagName); | ||
if (selectInputOrButton) { | ||
@@ -304,0 +307,0 @@ addListener(event, function (e) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5327774
123647