Avoid undefined val breaking tabs

This commit is contained in:
Nathan Gray 2011-10-18 15:41:30 +00:00
parent 2ae94af14f
commit 8674cdd7c3

View File

@ -73,7 +73,7 @@ var et2_tabbox = et2_DOMWidget.extend({
contentMgr = this.getArrayMgr("readonlys"); contentMgr = this.getArrayMgr("readonlys");
if (contentMgr != null) { if (contentMgr != null) {
var val = contentMgr.getEntry(this.id); var val = contentMgr.getEntry(this.id);
if (val !== null) if (val !== null && typeof val !== 'undefined')
{ {
hidden = val; hidden = val;
} }