Browse Source

Fixed another bug causing items to get orphaned sometimes (See #197)

v3_develop
jos 10 years ago
parent
commit
f2970e33aa
5 changed files with 4150 additions and 4148 deletions
  1. +3
    -1
      HISTORY.md
  2. +4139
    -4139
      dist/vis.js
  3. +1
    -1
      dist/vis.map
  4. +6
    -6
      dist/vis.min.js
  5. +1
    -1
      lib/timeline/component/Group.js

+ 3
- 1
HISTORY.md View File

@ -3,7 +3,9 @@ http://visjs.org
## not yet released, version 3.1.1 ## not yet released, version 3.1.1
(no changes yet)
### Timeline
- Fixed items in groups sometimes being displayed but not positioned correctly.
## 2014-07-22, version 3.1.0 ## 2014-07-22, version 3.1.0

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


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


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


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

@ -258,7 +258,7 @@ Group.prototype.add = function(item) {
this.items[item.id] = item; this.items[item.id] = item;
item.setParent(this); item.setParent(this);
if (item instanceof ItemRange && this.visibleItems.indexOf(item) == -1) {
if (this.visibleItems.indexOf(item) == -1) {
var range = this.itemSet.body.range; // TODO: not nice accessing the range like this var range = this.itemSet.body.range; // TODO: not nice accessing the range like this
this._checkIfVisible(item, this.visibleItems, range); this._checkIfVisible(item, this.visibleItems, range);
} }

Loading…
Cancel
Save