forked from extern/egroupware
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
caf5a69a8f
commit
479f917c09
@ -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