mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-24 06:48:40 +01:00
fix for Bug: [ 1009099 ] Unable To Add Project
This commit is contained in:
parent
f3bbad5fff
commit
87fd7d1d05
@ -223,7 +223,8 @@ function Tabs(nrTabs,activeCSSclass,inactiveCSSclass,HTMLtabID,HTMLtabcontentID,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// getting the active tab from the selector if set
|
// 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;
|
tab = document.getElementById(this.HTMLtabselectorID).selectedIndex+1;
|
||||||
else
|
else
|
||||||
tab = 1;
|
tab = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user