mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
automatic close sidebox/-bar in mobile framework when tree or favorite is clicked
This commit is contained in:
parent
cf021014b2
commit
da57a26c5a
@ -171,6 +171,11 @@ class AdminApp extends EgwApp
|
||||
window.open(_url, '_blank');
|
||||
return;
|
||||
}
|
||||
// check for mobile framework and close the sidebox/-bar
|
||||
if (typeof framework.toggleMenu === 'function')
|
||||
{
|
||||
framework.toggleMenu('on');
|
||||
}
|
||||
var ajax : any = false;
|
||||
if (_url)
|
||||
{
|
||||
|
@ -1029,6 +1029,12 @@ export abstract class EgwApp
|
||||
}
|
||||
if(this.dataset.id != 'add')
|
||||
{
|
||||
// check for mobile framework and close the sidebox/-bar
|
||||
if (typeof framework.toggleMenu === 'function')
|
||||
{
|
||||
framework.toggleMenu('on');
|
||||
}
|
||||
|
||||
event.stopImmediatePropagation();
|
||||
self.setState.call(self, state);
|
||||
return false;
|
||||
|
@ -2420,6 +2420,12 @@ app.classes.mail = AppJS.extend(
|
||||
return;
|
||||
}
|
||||
|
||||
// check for mobile framework and close the sidebox/-bar
|
||||
if (typeof framework.toggleMenu === 'function')
|
||||
{
|
||||
framework.toggleMenu('on');
|
||||
}
|
||||
|
||||
// Check if this is a top level node and
|
||||
// change profile if server has changed
|
||||
var server = _folder.split('::');
|
||||
|
Loading…
Reference in New Issue
Block a user