mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-23 05:41:02 +01:00
automatic close sidebox/-bar in mobile framework when tree or favorite is clicked
This commit is contained in:
parent
d41c964095
commit
d38604f9e6
@ -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)
|
||||
{
|
||||
|
@ -1027,6 +1027,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