mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-31 10:31:43 +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
caf5a69a8f
commit
479f917c09
@ -73,7 +73,10 @@ function expose (widget)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// No nextmatch, or nextmatch not quite ready
|
// 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;
|
return nextmatch;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user