[#5017] Horde Admin setup does not toggle between config tabs
Summary Horde Admin setup does not toggle between config tabs
Queue Horde Base
Queue Version FRAMEWORK_3
Type Bug
State Not A Bug
Priority 2. Medium
Requester fernandez_marosc@gva.es
Created 2007-02-22 (4994 days ago)
Updated 2007-02-22 (4994 days ago)
Resolved 2007-02-22 (4994 days ago)
Patch No

fernandez_marosc@gva.es 2007-02-22 08:36:56

I have checked out versions Horde 3.1.3 and IMP 4.1.3 from CVS like:

cvs co -r HORDE_3_1_3 horde

cd horde

cvs co -r IMP_4_1_3 imp

I then copied all /config/*.dist into *.php as in /docs/INTALL

I entered Horde setup as Admin, and tried to click the Authentication 
tab to configure some IMAP auth. This javascript error is displayed:

document.getElementById("_tab_" + openSectionId) has no properties

document.getElementById('_tab_' + openSectionId).className = null;

To see why, I installed a regular Horde 3.1.3 and IMP 4.1.3 from 
release zips instead of checking out from CVS and compared the 
differences in the HTML.

From Release zip:

<li class="activeTab" id="_tab_general"><a href="#" 
onclick="sections_configform.toggle('general'); return 
false;">General</a> </li>

From CVS checkout:

<li class="activeTab" id="configform_tab_general"><a href="#" 
onclick="sections_configform.toggle('general'); return 
false;">General</a> </li>

As you see, the id generated for the <li> element is different.

Why is this happening?

NOTE this is bug does not match the Queue version "FRAMEWORK_3: The 
current 3.x CVS code" of this ticket, becouse I did not use that tag 
to check out the code, but HORDE_3_1_3 tag. However, there was not a 
ticket Queue version for this specific tag.

fernandez_marosc@gva.es 2007-02-22 08:42:13
A little context now. I am working on enhancement #2782, and that's 
why I need to check out from CVS to produce a patch using cvs diff.

Jan Schneider <jan@horde.org> 2007-02-22 10:01:52
You didn't install the framework module with a matching version.