[mobile] Call asc_OnHideContextMenu on hide settings view
This commit is contained in:
parent
3fa4718772
commit
3951616490
|
@ -263,6 +263,10 @@ define([
|
|||
'</div>'
|
||||
)).on('close', function (e) {
|
||||
mainView.showNavbar();
|
||||
}).on('closed', function () {
|
||||
if (_.isFunction(me.api.asc_OnHideContextMenu)) {
|
||||
me.api.asc_OnHideContextMenu()
|
||||
}
|
||||
});
|
||||
mainView.hideNavbar();
|
||||
} else {
|
||||
|
@ -292,6 +296,10 @@ define([
|
|||
}).on('close', function () {
|
||||
$overlay.off('removeClass');
|
||||
$overlay.removeClass('modal-overlay-visible')
|
||||
}).on('closed', function () {
|
||||
if (_.isFunction(me.api.asc_OnHideContextMenu)) {
|
||||
me.api.asc_OnHideContextMenu()
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -263,7 +263,12 @@ define([
|
|||
'</div>'
|
||||
)).on('close', function (e) {
|
||||
mainView.showNavbar();
|
||||
}).on('closed', function () {
|
||||
if (_.isFunction(me.api.asc_OnHideContextMenu)) {
|
||||
me.api.asc_OnHideContextMenu()
|
||||
}
|
||||
});
|
||||
|
||||
mainView.hideNavbar();
|
||||
} else {
|
||||
me.picker = uiApp.popover(
|
||||
|
@ -292,6 +297,10 @@ define([
|
|||
}).on('close', function () {
|
||||
$overlay.off('removeClass');
|
||||
$overlay.removeClass('modal-overlay-visible')
|
||||
}).on('closed', function () {
|
||||
if (_.isFunction(me.api.asc_OnHideContextMenu)) {
|
||||
me.api.asc_OnHideContextMenu()
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -265,7 +265,12 @@ define([
|
|||
)).on('close', function (e) {
|
||||
mainView.showNavbar();
|
||||
Common.NotificationCenter.trigger('layout:changed','navbar', {hidden:false});
|
||||
}).on('closed', function () {
|
||||
if (_.isFunction(me.api.asc_OnHideContextMenu)) {
|
||||
me.api.asc_OnHideContextMenu()
|
||||
}
|
||||
});
|
||||
|
||||
mainView.hideNavbar();
|
||||
Common.NotificationCenter.trigger('layout:changed','navbar', {hidden:true});
|
||||
} else {
|
||||
|
@ -295,6 +300,10 @@ define([
|
|||
}).on('close', function () {
|
||||
$overlay.off('removeClass');
|
||||
$overlay.removeClass('modal-overlay-visible')
|
||||
}).on('closed', function () {
|
||||
if (_.isFunction(me.api.asc_OnHideContextMenu)) {
|
||||
me.api.asc_OnHideContextMenu()
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue