Browse Source

Fixed #238: the `change` event sometimes being fired twice on IE10

v3_develop
jos 10 years ago
parent
commit
44ef978ad9
6 changed files with 596 additions and 391 deletions
  1. +11
    -0
      HISTORY.md
  2. +573
    -380
      dist/vis.js
  3. +1
    -1
      dist/vis.map
  4. +1
    -1
      dist/vis.min.css
  5. +7
    -7
      dist/vis.min.js
  6. +3
    -2
      lib/timeline/component/ItemSet.js

+ 11
- 0
HISTORY.md View File

@ -2,6 +2,17 @@
http://visjs.org
## not yet released, version 3.2.1
### Timeline
- Fixed the `change` event sometimes being fired twice on IE10.
### Network
- A fix in reading group properties for a node.
## 2014-08-14, version 3.2.0
### General

+ 573
- 380
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


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


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


+ 3
- 2
lib/timeline/component/ItemSet.js View File

@ -1151,7 +1151,9 @@ ItemSet.prototype._onDragEnd = function (event) {
me = this,
dataset = this.itemsData.getDataSet();
this.touchParams.itemProps.forEach(function (props) {
var itemProps = this.touchParams.itemProps ;
this.touchParams.itemProps = null;
itemProps.forEach(function (props) {
var id = props.item.id,
itemData = me.itemsData.get(id, me.itemOptions);
@ -1190,7 +1192,6 @@ ItemSet.prototype._onDragEnd = function (event) {
});
}
});
this.touchParams.itemProps = null;
// apply the changes to the data (if there are changes)
if (changes.length) {

Loading…
Cancel
Save