6.0.0-beta13
4/11/26
  • Error
    Ticket 8817 was not found.

[#8127] Javascript error in sub folder preview
Summary Javascript error in sub folder preview
Queue DIMP
Queue Version 1.1.1
Type Bug
State Resolved
Priority 2. Medium
Owners slusarz (at) horde (dot) org
Requester ffv (at) tjpr (dot) jus (dot) br
Created 3/30/09 (6221 days ago)
Due 03/30/2009 (6221 days ago)
Updated 1/13/10 (5932 days ago)
Assigned 3/30/09 (6221 days ago)
Resolved 4/20/09 (6200 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
20.04.2009 22:28:11 Michael Slusarz Comment #6
Assigned to Michael Slusarz
State ⇒ Resolved
Reply to this comment
This is probably a symptom of the greater overall issue - we should 
not be displaying subfolders in the 'specialfolders' section of the 
folder list, since it is not really designed for that (in terms of 
sizing the folderlist).  The solution: if a specialfolder contains 
children, create a dummy container entry in the bottom list and 
display subfolders there instead.  This has been implemented for IMP 5 
(it will not be backported to DIMP 1.x).
31.03.2009 02:14:41 ffv (at) tjpr (dot) jus (dot) br Comment #5 Reply to this comment
Hi all,



tries to create subfolders (many subfolders) inside of folder "Sent" 
of form that when expanded it makes with that the Trash folder does 
not appear in the left panel. After this, click in any subfolder 
inside of the folder "Sent" and verifies that a Javascript error will   
appear in the browser



.
30.03.2009 17:35:53 Michael Slusarz Comment #4 Reply to this comment
I can not reproduce on either IE 6 or IE 7.
30.03.2009 16:05:10 ffv (at) tjpr (dot) jus (dot) br Comment #3 Reply to this comment
Hi,



  the error appears as "Invalid Argument" in line 1927 of script 
"js/prototype.js" in the following stretch of code:



     for (var property in styles)

       if (property == 'opacity') element.setOpacity(styles[property]);

       else

         elementStyle[(property == 'float' || property == 'cssFloat') ?

           (Object.isUndefined(elementStyle.styleFloat) ? 'cssFloat' : 
'styleFloat') :

             property] = styles[property];







When activating debug, the value of styles[property] appears as " - 
19px". I believe that this value would have to be positive. This 
Happens when a system folder possesss many subfolders and the user 
expands it making with that it does not fit all the objects in the 
screen.
30.03.2009 12:55:18 Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
And what *is* the error message? Also, make sure to load the 
uncompressed javascript file versions from js/src, so that we get 
meaningful line numbers.
30.03.2009 03:02:06 ffv (at) tjpr (dot) jus (dot) br Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Javascript error in sub folder preview
Due ⇒ 3/30/09
Queue ⇒ DIMP
Milestone ⇒
Patch ⇒ No
New Attachment: javascriptbug.jpg Download
State ⇒ Unconfirmed
Reply to this comment
Hi all,

has A  Bug of Javascript when I have many sub folders inside of a 
system folder (Sent, Drafts, Trash). In this case, when I click in one 
of innumerable subpastas, a Javascript error happens and the subfolder 
preview does not occur. In annex I show an image as example. This bug 
happens with IE6,7,8 and it does not occur with firefox

Saved Queries