Skip to content

Commit 35c51ee

Browse files
committed
[update] version 7.1.2
1 parent 3076bc2 commit 35c51ee

16 files changed

+56
-34
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# dhtmlxGantt #
22

33
[![dhtmlx.com](https://img.shields.io/badge/made%20by-DHTMLX-blue)](https://dhtmlx.com/)
4-
[![npm: v.7.1.1](https://img.shields.io/badge/npm-v.7.1.1-blue.svg)](https://www.npmjs.com/package/dhtmlx-gantt)
4+
[![npm: v.7.1.2](https://img.shields.io/badge/npm-v.7.1.2-blue.svg)](https://www.npmjs.com/package/dhtmlx-gantt)
55
[![License: GPL v2](https://img.shields.io/badge/license-GPL%20v2-blue.svg)](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
66

77
[Getting started](#getting-started) | [Features](#features) | [Follow us](#followus) | [License](#license) | [Useful links](#links)
@@ -128,7 +128,7 @@ Like our page on [Facebook](https://www.facebook.com/dhtmlx/) :thumbsup:
128128
<a name="license"></a>
129129
## License ##
130130

131-
dhtmlxGantt v.7.1.1 Standard
131+
dhtmlxGantt v.7.1.2 Standard
132132

133133
This version of dhtmlxGantt is distributed under GPL 2.0 license and can be legally used in GPL projects.
134134

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gantt",
3-
"version": "7.1.1",
3+
"version": "7.1.2",
44
"homepage": "https://dhtmlx.com/docs/products/dhtmlxGantt/",
55
"description": "An open source JavaScript Gantt chart that helps you illustrate a project schedule in a nice-looking chart.",
66
"main": [

codebase/dhtmlxgantt.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Type definitions for dhtmlxGantt 7.1.1
1+
// Type definitions for dhtmlxGantt 7.1.2
22
// Project: https://dhtmlx.com/docs/products/dhtmlxGantt
33

44
type GanttCallback = (...args: any[]) => any;

codebase/dhtmlxgantt.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codebase/dhtmlxgantt.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codebase/sources/dhtmlxgantt.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
@license
33
4-
dhtmlxGantt v.7.1.1 Standard
4+
dhtmlxGantt v.7.1.2 Standard
55
66
This version of dhtmlxGantt is distributed under GPL 2.0 license and can be legally used in GPL projects.
77

codebase/sources/dhtmlxgantt.js

+31-16
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
@license
33

4-
dhtmlxGantt v.7.1.1 Standard
4+
dhtmlxGantt v.7.1.2 Standard
55

66
This version of dhtmlxGantt is distributed under GPL 2.0 license and can be legally used in GPL projects.
77

@@ -11117,6 +11117,14 @@ function initDataStores(gantt) {
1111711117
});
1111811118
tasksStore.attachEvent("onIdChange", function (oldId, newId) {
1111911119
gantt._update_flags(oldId, newId);
11120+
11121+
var changedTask = gantt.getTask(newId);
11122+
11123+
if (changedTask.$split_subtask || changedTask.rollup) {
11124+
gantt.eachParent(function (parent) {
11125+
gantt.refreshTask(parent.id);
11126+
}, newId);
11127+
}
1112011128
});
1112111129
tasksStore.attachEvent("onAfterUpdate", function (id) {
1112211130
gantt._update_parents(id);
@@ -13999,6 +14007,10 @@ module.exports = function (gantt) {
1399914007
return;
1400014008
}
1400114009

14010+
if (gantt.$destroyed) {
14011+
return;
14012+
}
14013+
1400214014
this.callEvent("onBeforeParse", []);
1400314015
if (!type) type = "json";
1400414016
this.assert(this[type], "Invalid data type:'" + type + "'");
@@ -20693,7 +20705,11 @@ var ScrollbarCell = function (_super) {
2069320705

2069420706
ScrollbarCell.prototype._initMouseWheel = function () {
2069520707
var ff = env.isFF;
20696-
if (ff) this.$domEvents.attach(this._getRootParent().$view, "wheel", this._mouseWheelHandler);else this.$domEvents.attach(this._getRootParent().$view, "mousewheel", this._mouseWheelHandler);
20708+
if (ff) this.$domEvents.attach(this._getRootParent().$view, "wheel", this._mouseWheelHandler, {
20709+
passive: false
20710+
});else this.$domEvents.attach(this._getRootParent().$view, "mousewheel", this._mouseWheelHandler, {
20711+
passive: false
20712+
});
2069720713
};
2069820714

2069920715
ScrollbarCell.prototype.scrollHorizontally = function (left) {
@@ -24928,7 +24944,7 @@ var TimelineZoom = /** @class */ (function () {
2492824944
this._handler.apply(this, [e]);
2492924945
return true;
2493024946
}
24931-
}, _this));
24947+
}, _this), { passive: false });
2493224948
};
2493324949
this._defaultHandler = function (e) {
2493424950
var timelineOffset = _this.$gantt.$task.getBoundingClientRect().x;
@@ -39351,7 +39367,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
3935139367

3935239368
function DHXGantt() {
3935339369
this.constants = __webpack_require__(/*! ../constants */ "./sources/constants/index.js");
39354-
this.version = "7.1.1";
39370+
this.version = "7.1.2";
3935539371
this.license = "gpl";
3935639372
this.templates = {};
3935739373
this.ext = {};
@@ -42782,9 +42798,10 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
4278242798

4278342799
var helpers = __webpack_require__(/*! ./helpers */ "./sources/utils/helpers.js");
4278442800

42801+
var plainObjectConstructor = {}.constructor.toString();
42802+
4278542803
function isCustomType(object) {
4278642804
var constructorString = object.constructor.toString();
42787-
var plainObjectConstructor = {}.constructor.toString();
4278842805
return constructorString !== plainObjectConstructor;
4278942806
}
4279042807

@@ -42806,17 +42823,15 @@ function copy(object) {
4280642823

4280742824
break;
4280842825

42809-
case helpers.isStringObject(object):
42810-
result = new String(object);
42811-
break;
42812-
42813-
case helpers.isNumberObject(object):
42814-
result = new Number(object);
42815-
break;
42816-
42817-
case helpers.isBooleanObject(object):
42818-
result = new Boolean(object);
42819-
break;
42826+
/* case (helpers.isStringObject(object)):
42827+
result = new String(object);
42828+
break;
42829+
case (helpers.isNumberObject(object)):
42830+
result = new Number(object);
42831+
break;
42832+
case (helpers.isBooleanObject(object)):
42833+
result = new Boolean(object);
42834+
break;*/
4282042835

4282142836
default:
4282242837
if (isCustomType(object)) {

codebase/sources/skins/dhtmlxgantt_broadway.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
@license
33
4-
dhtmlxGantt v.7.1.1 Standard
4+
dhtmlxGantt v.7.1.2 Standard
55
66
This version of dhtmlxGantt is distributed under GPL 2.0 license and can be legally used in GPL projects.
77

codebase/sources/skins/dhtmlxgantt_contrast_black.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
@license
33
4-
dhtmlxGantt v.7.1.1 Standard
4+
dhtmlxGantt v.7.1.2 Standard
55
66
This version of dhtmlxGantt is distributed under GPL 2.0 license and can be legally used in GPL projects.
77

codebase/sources/skins/dhtmlxgantt_contrast_white.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
@license
33
4-
dhtmlxGantt v.7.1.1 Standard
4+
dhtmlxGantt v.7.1.2 Standard
55
66
This version of dhtmlxGantt is distributed under GPL 2.0 license and can be legally used in GPL projects.
77

codebase/sources/skins/dhtmlxgantt_material.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
@license
33
4-
dhtmlxGantt v.7.1.1 Standard
4+
dhtmlxGantt v.7.1.2 Standard
55
66
This version of dhtmlxGantt is distributed under GPL 2.0 license and can be legally used in GPL projects.
77

codebase/sources/skins/dhtmlxgantt_meadow.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
@license
33
4-
dhtmlxGantt v.7.1.1 Standard
4+
dhtmlxGantt v.7.1.2 Standard
55
66
This version of dhtmlxGantt is distributed under GPL 2.0 license and can be legally used in GPL projects.
77

codebase/sources/skins/dhtmlxgantt_skyblue.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
@license
33
4-
dhtmlxGantt v.7.1.1 Standard
4+
dhtmlxGantt v.7.1.2 Standard
55
66
This version of dhtmlxGantt is distributed under GPL 2.0 license and can be legally used in GPL projects.
77

codebase/sources/skins/dhtmlxgantt_terrace.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
@license
33
4-
dhtmlxGantt v.7.1.1 Standard
4+
dhtmlxGantt v.7.1.2 Standard
55
66
This version of dhtmlxGantt is distributed under GPL 2.0 license and can be legally used in GPL projects.
77

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dhtmlx-gantt",
3-
"version": "7.1.1",
3+
"version": "7.1.2",
44
"description": "An open source JavaScript Gantt chart that helps you illustrate a project schedule in a nice-looking chart.",
55
"main": "codebase/dhtmlxgantt.js",
66
"types": "codebase/dhtmlxgantt.d.ts",

whatsnew.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
7.1.1
1+
### 7.1.2
2+
3+
Major performance improvement of the resource panel
4+
Fix the script error thrown when gantt.destructor is called while gantt.load is in progress
5+
Fix the incorrect behavior of split tasks on change of the task id
6+
Fix the incorrect work of scroll on mouse wheel in Angular
7+
8+
### 7.1.1
29

310
Fix the regression in the click_drag plugin
411
Fix the Security Violation error thrown from the gantt when setting the gantt.config.csp config to the "auto" mode

0 commit comments

Comments
 (0)