[#5939] JS error on folders.php
Summary JS error on folders.php
Queue IMP
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners Jan Schneider <jan (at) horde (dot) org>
Requester tinu (at) humbapa (dot) ch
Created 11/29/2007 (583 days ago)
Due
Updated 11/18/2008 (228 days ago)
Assigned 11/29/2007 (583 days ago)
Resolved 11/30/2007 (582 days ago)
Attachments
Milestone
Patch No

History
11/18/2008 ehle (at) iit (dot) edu Comment #7 Reply to this comment
I'm seeing behavior identical to this bug when using konqueror to 
access Imp4.2-3/Horde 3.2.2 installed via the packages in Debian 
Lenny.  However it works fine with firefox
11/30/2007 Jan Schneider Comment #6
State ⇒ Resolved
Reply to this comment
Fixed in CVS.
11/30/2007 tinu (at) humbapa (dot) ch Comment #5 Reply to this comment
Does this only happen on mailboxes that don't have an action bar at 
the bottom?
yes
11/30/2007 Jan Schneider Comment #4
Assigned to Jan Schneider
Reply to this comment
Does this only happen on mailboxes that don't have an action bar at 
the bottom?
11/30/2007 tinu (at) humbapa (dot) ch Comment #3 Reply to this comment
Can you please try with Firefox and get a better error message from 
the javascript console?
js error message with Firefox 2.0.0.10 (german) @ winxp:
$("checkAll1") has no properties
Source: .../imp/js/folders.js
Line: 164 (copy from src-dir)
11/29/2007 Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
Can you please try with Firefox and get a better error message from 
the javascript console?
11/29/2007 tinu (at) humbapa (dot) ch Comment #1
Summary ⇒ JS error on folders.php
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Queue ⇒ IMP
Reply to this comment
when I open imp/folders.php there is a JS error on line 165 char 9 
saying 'null' is Null or not an Object. this only happens when I have 
less than 10 folders.

my short solution was to remove the if-structure in folders.php on 
line 479-482. e.g.:
//if (count($rows) > 10) {
     $a_template->set('id', 1);
     echo $a_template->fetch(IMP_TEMPLATES . '/folders/actions.html');
//}

thanks!