diff --git a/lib/timeline/component/ItemSet.js b/lib/timeline/component/ItemSet.js index b7c28eb0..9329263a 100644 --- a/lib/timeline/component/ItemSet.js +++ b/lib/timeline/component/ItemSet.js @@ -1217,7 +1217,8 @@ ItemSet.prototype._onDragStart = function (event) { if (item && (item.selected || this.options.itemsAlwaysDraggable)) { if (!this.options.editable.updateTime && - !this.options.editable.updateGroup) { + !this.options.editable.updateGroup && + !item.editable) { return; } diff --git a/lib/timeline/component/item/Item.js b/lib/timeline/component/item/Item.js index 900377cd..79535a93 100644 --- a/lib/timeline/component/item/Item.js +++ b/lib/timeline/component/item/Item.js @@ -146,7 +146,8 @@ Item.prototype.repositionY = function() { * @protected */ Item.prototype._repaintDeleteButton = function (anchor) { - var editable = this.options.editable.remove && + var editable = (this.options.editable.remove || + this.data.editable === true) && this.data.editable !== false; if (this.selected && editable && !this.dom.deleteButton) {