Commit cd86b759 authored by Alexey Golubev's avatar Alexey Golubev

Merge branch 'hotfix/v4.1.7'

parents 4dd21ea5 218385d3
......@@ -125,7 +125,7 @@ define([
if (active && active.length > 0) {
_.each(active, function(menu) {
menu.hide();
if (menu) menu.hide();
});
return true;
}
......
......@@ -280,7 +280,7 @@ define([
var target_pane = $(".right-panel");
target_pane.find('> .active').removeClass('active');
_.each(this._settings, function(item){
this._settings.forEach(function(item){
if (item.btn.isActive())
item.btn.toggle(false, true);
});
......
......@@ -154,8 +154,8 @@ require([
'Main',
'Common.Controllers.Fonts'
/** coauthoring begin **/
, 'Common.Controllers.Chat',
'Common.Controllers.Comments',
, 'Common.Controllers.Chat'
,'Common.Controllers.Comments'
/** coauthoring end **/
,'Common.Controllers.Plugins'
,'Common.Controllers.ExternalDiagramEditor'
......
......@@ -277,7 +277,7 @@ define([
clearSelection: function() {
var target_pane = $(".right-panel");
target_pane.find('> .active').removeClass('active');
_.each(this._settings, function(item){
this._settings.forEach(function(item){
if (item.btn.isActive())
item.btn.toggle(false, true);
});
......
......@@ -145,8 +145,8 @@ require([
'Main',
'Common.Controllers.Fonts'
/** coauthoring begin **/
, 'Common.Controllers.Chat',
'Common.Controllers.Comments',
, 'Common.Controllers.Chat'
,'Common.Controllers.Comments'
/** coauthoring end **/
,'Common.Controllers.Plugins'
,'Common.Controllers.ExternalDiagramEditor'
......
......@@ -126,7 +126,7 @@ define([
if (this._state.prevDisabled != need_disable) {
this._state.prevDisabled = need_disable;
_.each(this._settings, function(item){
this._settings.forEach(function(item){
item.panel.setLocked(need_disable);
});
}
......
......@@ -240,7 +240,7 @@ define([
clearSelection: function() {
var target_pane = $(".right-panel");
target_pane.find('> .active').removeClass('active');
_.each(this._settings, function(item){
this._settings.forEach(function(item){
if (item.btn.isActive())
item.btn.toggle(false, true);
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment