|
|
@ -1419,9 +1419,11 @@ ItemSet.prototype._onAddItem = function (event) { |
|
|
|
if (!this.options.selectable) return; |
|
|
|
if (!this.options.editable.add) return; |
|
|
|
|
|
|
|
var me = this, |
|
|
|
snap = this.options.snap || null, |
|
|
|
item = this.itemFromTarget(event); |
|
|
|
var me = this; |
|
|
|
var snap = this.options.snap || null; |
|
|
|
var item = this.itemFromTarget(event); |
|
|
|
|
|
|
|
event.stopPropagation(); |
|
|
|
|
|
|
|
if (item) { |
|
|
|
// update item
|
|
|
|