re-add detachTab

Authored by tcanabrava on Jul 16 2018, 3:28 PM.