jsgantt-improved
Advanced tools
Comparing version 2.1.9 to 2.1.10
@@ -353,2 +353,3 @@ "use strict"; | ||
var vTmpDiv = this.newNode(vLeftHeader, 'div', this.vDivId + 'glisthead', 'glistlbl gcontainercol'); | ||
this.setListBody(vTmpDiv); | ||
var vTmpTab = this.newNode(vTmpDiv, 'table', null, 'gtasktableh'); | ||
@@ -355,0 +356,0 @@ var vTmpTBody = this.newNode(vTmpTab, 'tbody'); |
@@ -129,3 +129,5 @@ "use strict"; | ||
exports.addListener('resize', function () { pGanttChart.getChartHead().scrollLeft = pGanttChart.getChartBody().scrollLeft; }, window); | ||
exports.addListener('resize', function () { pGanttChart.getListBody().scrollTop = pGanttChart.getChartBody().scrollTop; }, window); | ||
exports.addListener('resize', function () { | ||
pGanttChart.getListBody().scrollTop = pGanttChart.getChartBody().scrollTop; | ||
}, window); | ||
}; | ||
@@ -183,5 +185,9 @@ exports.addListenerClickCell = function (vTmpCell, vEvents, task, column) { | ||
if (ids.length > 1) { | ||
document.querySelectorAll(".gDepId" + ids[1]).forEach(function (c) { | ||
var frameZones = Array.from(document.querySelectorAll(".gDepId" + ids[1])); | ||
frameZones.forEach(function (c) { | ||
c.style.borderStyle = style; | ||
}); | ||
// document.querySelectorAll(`.gDepId${ids[1]}`).forEach((c: any) => { | ||
// c.style.borderStyle = style; | ||
// }); | ||
} | ||
@@ -188,0 +194,0 @@ }; |
{ | ||
"name": "jsgantt-improved", | ||
"version": "2.1.9", | ||
"version": "2.1.10", | ||
"description": "jsgantt-improved", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -366,2 +366,3 @@ import * as lang from './lang'; | ||
let vTmpDiv = this.newNode(vLeftHeader, 'div', this.vDivId + 'glisthead', 'glistlbl gcontainercol'); | ||
this.setListBody(vTmpDiv); | ||
let vTmpTab = this.newNode(vTmpDiv, 'table', null, 'gtasktableh'); | ||
@@ -368,0 +369,0 @@ let vTmpTBody = this.newNode(vTmpTab, 'tbody'); |
@@ -144,3 +144,5 @@ import { delayedHide, changeFormat, stripIds, isIE, findObj, fadeToolTip } from "./utils"; | ||
addListener('resize', function () { pGanttChart.getChartHead().scrollLeft = pGanttChart.getChartBody().scrollLeft; }, window); | ||
addListener('resize', function () { pGanttChart.getListBody().scrollTop = pGanttChart.getChartBody().scrollTop; }, window); | ||
addListener('resize', function () { | ||
pGanttChart.getListBody().scrollTop = pGanttChart.getChartBody().scrollTop; | ||
}, window); | ||
}; | ||
@@ -198,5 +200,9 @@ | ||
if (ids.length > 1) { | ||
document.querySelectorAll(`.gDepId${ids[1]}`).forEach((c: any) => { | ||
const frameZones = Array.from(document.querySelectorAll(`.gDepId${ids[1]}`)); | ||
frameZones.forEach((c: any) => { | ||
c.style.borderStyle = style; | ||
}); | ||
// document.querySelectorAll(`.gDepId${ids[1]}`).forEach((c: any) => { | ||
// c.style.borderStyle = style; | ||
// }); | ||
} | ||
@@ -224,2 +230,2 @@ } | ||
note: 'pNotes' | ||
} | ||
} |
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 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
4896146
75
113525