mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
Build expose gallery only for filemanager nm, other nms may have expose view but not neccessary would be a gallery (eg. resources)
This commit is contained in:
parent
cabb2c2fb0
commit
73dfdc4cf4
@ -73,7 +73,10 @@ function expose (widget)
|
||||
}
|
||||
}
|
||||
// No nextmatch, or nextmatch not quite ready
|
||||
if(nextmatch == null || nextmatch.controller == null) return null;
|
||||
// At the moment only filemanger nm would work
|
||||
// as gallery, thus we disable other nestmatches
|
||||
// to build up gallery but filemanager
|
||||
if(nextmatch == null || nextmatch.controller == null || !nextmatch.dom_id.match(/filemanager/,'ig')) return null;
|
||||
|
||||
return nextmatch;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user