|
|
|
@ -277,7 +277,7 @@ module.exports = Backbone.View.extend({ |
|
|
|
srcModel && srcModel.set && srcModel.set('status', 'freezed'); |
|
|
|
} |
|
|
|
|
|
|
|
on(container, 'mousemove', this.onMove); |
|
|
|
on(container, 'mousemove dragover', this.onMove); |
|
|
|
on(docs, 'mouseup', this.endMove); |
|
|
|
on(docs, 'keydown', this.rollback); |
|
|
|
onStart && onStart(); |
|
|
|
@ -906,7 +906,7 @@ module.exports = Backbone.View.extend({ |
|
|
|
var created; |
|
|
|
const docs = this.getDocuments(); |
|
|
|
const container = this.getContainerEl(); |
|
|
|
off(container, 'mousemove', this.onMove); |
|
|
|
off(container, 'mousemove dragover', this.onMove); |
|
|
|
off(docs, 'mouseup', this.endMove); |
|
|
|
off(docs, 'keydown', this.rollback); |
|
|
|
//this.$document.off('mouseup', this.endMove);
|
|
|
|
|