[SSE] Fix bug - locking tabs in co-editing mode
This commit is contained in:
parent
55c8f61a17
commit
dd3c38c054
|
@ -185,7 +185,7 @@ define([
|
|||
}, this),
|
||||
'tab:move' : _.bind(function (selectTabs, index) {
|
||||
me.tabBarScroll = {scrollLeft: me.tabbar.scrollX};
|
||||
if (_.isUndefined(selectTabs) || _.isUndefined(index) || selectTabs === index) {
|
||||
if (_.isUndefined(selectTabs) || _.isUndefined(index) || (selectTabs && selectTabs.length === 1 && selectTabs[0] === index)) {
|
||||
return;
|
||||
}
|
||||
if (_.isArray(selectTabs)) {
|
||||
|
|
Loading…
Reference in a new issue