Browse Source

fix(timeline): #2679 TypeError: Cannot read property 'hasOwnProperty' of null (#2735)

* Fix redraw order
* Fix error when option is not defined
* Allow template labels
* Add .travis.yml file
* Add experiment travis code
* Fix react example
* Fix bug in item editable
revert-2705-dynamic-rollingMode-option
yotamberk 7 years ago
committed by Alexander Wunschik
parent
commit
411a43cdc5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/timeline/component/item/Item.js

+ 1
- 1
lib/timeline/component/item/Item.js View File

@ -41,7 +41,7 @@ function Item (data, conversion, options) {
}
else if(typeof options.editable === 'object') {
this.editable = {};
util.selectiveExtend(['updateTime', 'updateGroup', 'remove'], this.editable, data.editable);
util.selectiveExtend(['updateTime', 'updateGroup', 'remove'], this.editable, options.editable);
};
}
}

Loading…
Cancel
Save