use hide() instead of not create when the tab should be hidden according to rule. This way will avoid breakage in the existing code.
Authored by: SeanZ 2012-04-27
Parent: [r6171]
Child: [r6173]