[SSE] Drag and drop for move sheet
This commit is contained in:
parent
13494b21d9
commit
5e47e79659
|
@ -144,6 +144,7 @@ define([
|
|||
}
|
||||
|
||||
me.drag = undefined;
|
||||
me.bar.trigger('tab:drop', this);
|
||||
}
|
||||
}
|
||||
function dragMove (event) {
|
||||
|
@ -187,6 +188,7 @@ define([
|
|||
$(document).off('mouseup.tabbar');
|
||||
$(document).off('mousemove.tabbar', dragMove);
|
||||
});
|
||||
this.bar.trigger('tab:drag', this.bar.selectTabs);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -200,6 +200,12 @@ define([
|
|||
me.fireEvent('sheet:move', [undefined, false, true, tabIndex, index]);
|
||||
}
|
||||
|
||||
}, this),
|
||||
'tab:drag' : _.bind(function (selectTabs) {
|
||||
|
||||
}, this),
|
||||
'tab:drop' : _.bind(function (selectTabs) {
|
||||
|
||||
}, this)
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue