Skip to content

Commit b7eeeaf

Browse files
committed
[update] version 9.1.1
1 parent d4e7ca6 commit b7eeeaf

15 files changed

+44
-36
lines changed

README.md

Lines changed: 2 additions & 2 deletions
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.9.1.0](https://img.shields.io/badge/npm-v.9.1.0-blue.svg)](https://www.npmjs.com/package/dhtmlx-gantt)
4+
[![npm: v.9.1.1](https://img.shields.io/badge/npm-v.9.1.1-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) | [License](#license) | [Useful links](#links) | [Follow us](#followus)
@@ -117,7 +117,7 @@ Resource management, critical path calculation, auto scheduling, and other enhan
117117
<a name="license"></a>
118118
## License ##
119119

120-
dhtmlxGantt v.9.1.0 Standard
120+
dhtmlxGantt v.9.1.1 Standard
121121

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

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gantt",
3-
"version": "9.1.0",
3+
"version": "9.1.1",
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Type definitions for dhtmlxGantt 9.1.0
1+
// Type definitions for dhtmlxGantt 9.1.1
22
// Project: https://dhtmlx.com/docs/products/dhtmlxGantt
33

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

codebase/dhtmlxgantt.es.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Type definitions for dhtmlxGantt 9.1.0
1+
// Type definitions for dhtmlxGantt 9.1.1
22
// Project: https://dhtmlx.com/docs/products/dhtmlxGantt
33

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

codebase/dhtmlxgantt.es.js

Lines changed: 5 additions & 5 deletions
Large diffs are not rendered by default.

codebase/dhtmlxgantt.es.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codebase/dhtmlxgantt.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codebase/dhtmlxgantt.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codebase/sources/dhtmlxgantt.es.js

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/** @license
22

3-
dhtmlxGantt v.9.1.0 Standard
3+
dhtmlxGantt v.9.1.1 Standard
44

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

@@ -11899,9 +11899,11 @@ function parsing(gantt2) {
1189911899
}
1190011900
const tasks2 = data2.data || data2.tasks;
1190111901
if (data2.assignments) {
11902-
attachAssignmentsToTasks(tasks2, data2.assignments);
11902+
attachAssignmentsToTasks(tasks2 && tasks2.length ? tasks2 : gantt2.getTasksByTime(), data2.assignments);
11903+
}
11904+
if (tasks2) {
11905+
this.$data.tasksStore.parse(tasks2);
1190311906
}
11904-
this.$data.tasksStore.parse(tasks2);
1190511907
var links = data2.links || (data2.collections && data2.collections.links ? data2.collections.links : []);
1190611908
this.$data.linksStore.parse(links);
1190711909
this.callEvent("onParse", []);
@@ -11955,9 +11957,6 @@ function parsing(gantt2) {
1195511957
gantt2.assert(false, "JSON is not supported");
1195611958
}
1195711959
}
11958-
if (!data2.data && !data2.tasks) {
11959-
jsonParseError(data2);
11960-
}
1196111960
if (data2.dhx_security) gantt2.security_key = data2.dhx_security;
1196211961
return data2;
1196311962
}, serializeTask: function(task) {
@@ -15066,7 +15065,7 @@ function i18nFactory() {
1506615065
}
1506715066
function DHXGantt() {
1506815067
this.constants = constants;
15069-
this.version = "9.1.0";
15068+
this.version = "9.1.1";
1507015069
this.license = "gpl";
1507115070
this.templates = {};
1507215071
this.ext = {};
@@ -20169,7 +20168,7 @@ const keyNavMappings = { init: function(controller, grid) {
2016920168
if (keyCode >= 48 && keyCode <= 57 || keyCode > 95 && keyCode < 112 || keyCode >= 64 && keyCode <= 91 || keyCode > 185 && keyCode < 193 || keyCode > 218 && keyCode < 223) {
2017020169
var modifiers = command.modifiers;
2017120170
var anyModifier = modifiers.alt || modifiers.ctrl || modifiers.meta || modifiers.shift;
20172-
if (modifiers.alt) ;
20171+
if (modifiers.alt || e.key === "Meta") ;
2017320172
else if (anyModifier && keyNav.getCommandHandler(command, "taskCell")) ;
2017420173
else if (hasEditor && !controller.isVisible()) {
2017520174
self.startEdit(activeCell.id, activeCell.columnName);

codebase/sources/dhtmlxgantt.es.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)