hidePage : function( id )\r
{\r
var tab = this._.tabs[id] && this._.tabs[id][0];\r
- if ( !tab || this._.pageCount == 1 )\r
+ if ( !tab || this._.pageCount == 1 || !tab.isVisible() )\r
return;\r
// Switch to other tab first when we're hiding the active tab.\r
else if ( id == this._.currentTabId )\r