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