[Desktop] Call asc_onShowPopupWindow on window show

This commit is contained in:
Julia Radzhabova 2020-03-05 14:38:25 +03:00
parent 8c5cf7e9f9
commit cb4576cd8d
3 changed files with 4 additions and 0 deletions

View file

@ -417,6 +417,8 @@ define([
/** coauthoring begin **/ /** coauthoring begin **/
userTipHide(); userTipHide();
/** coauthoring end **/ /** coauthoring end **/
me.mode && me.mode.isDesktopApp && me.api && me.api.asc_onShowPopupWindow();
}, },
'modal:show': function(e){ 'modal:show': function(e){
me.hideTips(); me.hideTips();

View file

@ -418,6 +418,7 @@ define([
/** coauthoring begin **/ /** coauthoring begin **/
userTipHide(); userTipHide();
/** coauthoring end **/ /** coauthoring end **/
me.mode && me.mode.isDesktopApp && me.api && me.api.asc_onShowPopupWindow();
}, },
'modal:show': function(e){ 'modal:show': function(e){
me.hideTips(); me.hideTips();

View file

@ -150,6 +150,7 @@ define([
Common.NotificationCenter.on({ Common.NotificationCenter.on({
'window:show': function(e){ 'window:show': function(e){
me.hideHyperlinkTip(); me.hideHyperlinkTip();
me.permissions && me.permissions.isDesktopApp && me.api && me.api.asc_onShowPopupWindow();
}, },
'modal:show': function(e){ 'modal:show': function(e){
me.hideCoAuthTips(); me.hideCoAuthTips();