Fix Bug 37586

This commit is contained in:
Julia Radzhabova 2018-07-31 12:51:31 +03:00
parent b77d643404
commit 69b1b7b11a
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ define([
var me = this;
Common.NotificationCenter.on('layout:changed', function(area){
Common.Utils.asyncCall(function(e) {
if ( e == 'toolbar' && me.panelChat.$el.is(':visible') ) {
if ( (e == 'toolbar' || e == 'status') && me.panelChat.$el.is(':visible') ) {
me.panelChat.updateLayout(true);
me.panelChat.setupAutoSizingTextBox();
}

View file

@ -133,7 +133,7 @@ define([
Common.NotificationCenter.on('app:comment:add', _.bind(this.onAppAddComment, this));
Common.NotificationCenter.on('layout:changed', function(area){
Common.Utils.asyncCall(function(e) {
if ( e == 'toolbar' && this.view.$el.is(':visible') ) {
if ( (e == 'toolbar' || e == 'status') && this.view.$el.is(':visible') ) {
this.onAfterShow();
}
}, this, area);