6.0.0-beta1
9/24/25

[#1995] javascript error in sidebar.php
Summary javascript error in sidebar.php
Queue Horde Base
Queue Version HEAD
Type Bug
State Resolved
Priority 2. Medium
Owners jan (at) horde (dot) org
Requester vilius (at) lnk (dot) lt
Created 05/19/2005 (7433 days ago)
Due
Updated 05/19/2005 (7433 days ago)
Assigned 05/19/2005 (7433 days ago)
Resolved 05/19/2005 (7433 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/19/2005 01:21:59 PM vilius (at) lnk (dot) lt Comment #5 Reply to this comment
Confirm as fixed. Thanks.



I'm using MySQL 3.23.58 as my preference DB.
05/19/2005 01:12:22 PM Jan Schneider Comment #4
State ⇒ Resolved
Reply to this comment
I still don't understand why this happens, but it should be fixed now. 
What DB are you using?
05/19/2005 01:00:04 PM Jan Schneider Assigned to Jan Schneider
State ⇒ Assigned
 
05/19/2005 12:51:50 PM vilius (at) lnk (dot) lt Comment #3 Reply to this comment
Yes, I updated prefs.php from .dist as usual.



$_prefs['menu_refresh_time'] = array(

     'value' => 0,

     'locked' => false,

     'shared' => true,

     'type' => 'enum',

     'enum' => array(0 => _("Never"),

                     30 => _("Every 30 seconds"),

                     60 => _("Every minute"),

                     120 => _("Every 2 minutes"),

                     300 => _("Every 5 minutes")),

     'desc' => _("Refresh Dynamic Menu Elements:")

);



Also I checked this preference in my backend (MySQL). 
menu_refresh_time is set to 0.



If I set it to 30 everything is fine.
05/19/2005 09:25:40 AM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
This code shouldn't even be generated. Your preference to refresh the 
sidebar is empty, and thus the javascript code to reload the sidebar 
(that's causing the error for you) shouldn't be loaded. Did you update 
your prefs.php file from the .dist version after updating? Did you do 
anything else with your preferences?
05/19/2005 07:36:19 AM vilius (at) lnk (dot) lt Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ javascript error in sidebar.php
Queue ⇒ Horde Base
New Attachment: sidebat.txt Download
Reply to this comment
Line: 397

Char: 37

Error: Syntax error

Code: 0

URL: https://mail.lnk.lt/horde/services/portal/sidebar.php



I encoutered this after recent CVS updates. Reproducible everytime. 
Generated HTML/JS code attached. Something is really missing there.

Saved Queries