Browse Source

Fixed #284: Fixed the `id` field of a new item not correctly generated.

v3_develop
jos 9 years ago
parent
commit
46454ca0f8
5 changed files with 5 additions and 4 deletions
  1. +1
    -0
      HISTORY.md
  2. +1
    -1
      dist/vis.js
  3. +1
    -1
      dist/vis.map
  4. +1
    -1
      dist/vis.min.js
  5. +1
    -1
      lib/timeline/component/ItemSet.js

+ 1
- 0
HISTORY.md View File

@ -18,6 +18,7 @@ http://visjs.org
- Fixed moment.js url in localization example.
- Fixed `className` of groups not being updated when changed.
- Fixed the `id` field of a new item not correctly generated.
## 2014-08-29, version 3.3.0

+ 1
- 1
dist/vis.js View File

@ -10882,7 +10882,7 @@ return /******/ (function(modules) { // webpackBootstrap
newItem.end = snap ? snap(end) : end;
}
newItem[this.itemsData.fieldId] = util.randomUUID();
newItem[this.itemsData._fieldId] = util.randomUUID();
var group = ItemSet.groupFromTarget(event);
if (group) {

+ 1
- 1
dist/vis.map
File diff suppressed because it is too large
View File


+ 1
- 1
dist/vis.min.js
File diff suppressed because it is too large
View File


+ 1
- 1
lib/timeline/component/ItemSet.js View File

@ -1314,7 +1314,7 @@ ItemSet.prototype._onAddItem = function (event) {
newItem.end = snap ? snap(end) : end;
}
newItem[this.itemsData.fieldId] = util.randomUUID();
newItem[this.itemsData._fieldId] = util.randomUUID();
var group = ItemSet.groupFromTarget(event);
if (group) {

Loading…
Cancel
Save