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 deleting item with id 0 (
#2530
)
fix2580
Lewis B
7 years ago
committed by
yotamberk
parent
cdba4c1491
commit
cb5cfc0858
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
lib/DataSet.js
+ 1
- 1
lib/DataSet.js
View File
@ -679,7 +679,7 @@ DataSet.prototype.remove = function (id, senderId) {
item
=
this
.
_remove
(
ids
[
i
]
)
;
if
(
item
)
{
itemId
=
item
[
this
.
_fieldId
]
;
if
(
itemId
)
{
if
(
itemId
!=
undefined
)
{
removedIds
.
push
(
itemId
)
;
removedItems
.
push
(
item
)
;
}
Write
Preview
Loading…
Cancel
Save