This website works better with JavaScript.
Home
Explore
Help
Sign In
jrtechs
/
jrtechs-vis
mirror of
https://github.com/jrtechs/vis.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
82
Wiki
Activity
Browse Source
Fixed
#284
: Fixed the `id` field of a new item not correctly generated.
v3_develop
jos
10 years ago
parent
2ab5ad108a
commit
46454ca0f8
5 changed files
with
5 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
HISTORY.md
+1
-1
dist/vis.js
+1
-1
dist/vis.map
+1
-1
dist/vis.min.js
+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
)
{
Write
Preview
Loading…
Cancel
Save