fix for Bug: [ 1009099 ] Unable To Add Project

This commit is contained in:
Lars Kneschke 2004-08-25 20:57:31 +00:00
parent f3bbad5fff
commit 87fd7d1d05

View File

@ -223,7 +223,8 @@ function Tabs(nrTabs,activeCSSclass,inactiveCSSclass,HTMLtabID,HTMLtabcontentID,
else
{
// getting the active tab from the selector if set
if(document.getElementById(this.HTMLtabselectorID))
// the check for != '' is needed for Konqueror
if(document.getElementById(this.HTMLtabselectorID) && this.HTMLtabselectorID != '')
tab = document.getElementById(this.HTMLtabselectorID).selectedIndex+1;
else
tab = 1;