jsgantt-improved
Advanced tools
Comparing version 2.1.2 to 2.1.3
@@ -414,7 +414,2 @@ "use strict"; | ||
*/ | ||
// let vLeftTable = document.createDocumentFragment(); | ||
// let vTmpDiv2 = this.newNode(vLeftTable, 'div', this.vDivId + 'glistbody', 'glistgrid gcontainercol'); | ||
// this.setListBody(vTmpDiv2); | ||
// vTmpTab = this.newNode(vTmpDiv2, 'table', null, 'gtasktable'); | ||
// vTmpTBody = this.newNode(vTmpTab, 'tbody'); | ||
var vTmpDiv2 = void 0; | ||
@@ -442,4 +437,5 @@ var _loop_1 = function (i_1) { | ||
var vEventClickRow_1 = this_1.vEventClickRow; | ||
events_1.addListener('click', function () { | ||
if (vEventClickRow_1 && typeof vEventClickRow_1 === "function") { | ||
events_1.addListener('click', function (e) { | ||
if (e.target.classList.contains('gfoldercollapse') === false && | ||
vEventClickRow_1 && typeof vEventClickRow_1 === "function") { | ||
vEventClickRow_1(task_2); | ||
@@ -446,0 +442,0 @@ } |
@@ -133,3 +133,4 @@ "use strict"; | ||
exports.addListener('click', function (e) { | ||
if (vEvents[column] && typeof vEvents[column] === 'function') { | ||
if (e.target.classList.contains('gfoldercollapse') === false && | ||
vEvents[column] && typeof vEvents[column] === 'function') { | ||
vEvents[column](task, e, vTmpCell); | ||
@@ -136,0 +137,0 @@ } |
{ | ||
"name": "jsgantt-improved", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"description": "jsgantt-improved", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -364,3 +364,3 @@ import * as lang from './lang'; | ||
* HEADINGS | ||
*/ | ||
*/ | ||
let vTmpDiv = this.newNode(vLeftHeader, 'div', this.vDivId + 'glisthead', 'glistlbl gcontainercol'); | ||
@@ -414,8 +414,3 @@ let vTmpTab = this.newNode(vTmpDiv, 'table', null, 'gtasktableh'); | ||
* | ||
*/ | ||
// let vLeftTable = document.createDocumentFragment(); | ||
// let vTmpDiv2 = this.newNode(vLeftTable, 'div', this.vDivId + 'glistbody', 'glistgrid gcontainercol'); | ||
// this.setListBody(vTmpDiv2); | ||
// vTmpTab = this.newNode(vTmpDiv2, 'table', null, 'gtasktable'); | ||
// vTmpTBody = this.newNode(vTmpTab, 'tbody'); | ||
*/ | ||
let vTmpDiv2; | ||
@@ -444,4 +439,5 @@ | ||
const vEventClickRow = this.vEventClickRow; | ||
addListener('click', function () { | ||
if (vEventClickRow && typeof vEventClickRow === "function") { | ||
addListener('click', function (e) { | ||
if (e.target.classList.contains('gfoldercollapse') === false && | ||
vEventClickRow && typeof vEventClickRow === "function") { | ||
vEventClickRow(task); | ||
@@ -584,6 +580,6 @@ } | ||
/** | ||
@@ -939,3 +935,3 @@ * CHART HEAD | ||
vTmpDiv = this.newNode(this.vDiv, 'div', null, 'gchartcontainer'); | ||
let leftvTmpDiv = this.newNode(vTmpDiv, 'div', null, 'gmain gmainleft'); | ||
@@ -990,3 +986,3 @@ leftvTmpDiv.appendChild(vLeftHeader); | ||
else this.vTodayPx = -1; | ||
// Dependencies | ||
@@ -993,0 +989,0 @@ let bdd; |
@@ -149,3 +149,4 @@ import { delayedHide, changeFormat, stripIds, isIE, findObj, fadeToolTip } from "./utils"; | ||
addListener('click', function (e) { | ||
if (vEvents[column] && typeof vEvents[column] === 'function') { | ||
if (e.target.classList.contains('gfoldercollapse') === false && | ||
vEvents[column] && typeof vEvents[column] === 'function') { | ||
vEvents[column](task, e, vTmpCell); | ||
@@ -152,0 +153,0 @@ } |
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 not supported yet
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
4889385
113271