[#4030] JS error when viewing image (IE6)
Summary JS error when viewing image (IE6)
Queue Ansel
Type Bug
State Not A Bug
Priority 2. Medium
Owners chuck (at) horde (dot) org
Requester tinu (at) humbapa (dot) ch
Created 2006-06-13 (4664 days ago)
Updated 2006-06-19 (4658 days ago)
Assigned 2006-06-17 (4660 days ago)
Resolved 2006-06-19 (4658 days ago)
Patch No

2006-06-19 09:50:22 Jan Schneider State ⇒ Not A Bug
2006-06-19 08:55:26 tinu (at) humbapa (dot) ch Comment #5 Reply to this comment
I was not using the latest framework source from cvs

(just FRAMEWORK_3). so the serialize methode json

was not yet included in "Horde/Serialize.php".

so this ticket is bogus.
2006-06-19 08:43:07 tinu (at) humbapa (dot) ch Comment #4 Reply to this comment
I'm using the latest CVS

so far I found out that:

SlideController.initialize(<?php $gv->json() ?>, <?php echo $imageIndex ?>);

in "templates/view/image.inc" prints:

SlideController.initialize(Array, 0);

somehow the methode "json" does not convert the array ($images)

to proper javascript.

but why this only seems to happen on my system I have no idea...
2006-06-17 03:02:51 Chuck Hagenbuch Comment #3
State ⇒ Feedback
Reply to this comment
I can't reproduce this - can you try with latest CVS?
2006-06-13 11:17:40 Jan Schneider Assigned to Chuck Hagenbuch
State ⇒ Assigned
2006-06-13 10:59:13 tinu (at) humbapa (dot) ch Comment #2
New Attachment: js-error.gif Download
Reply to this comment

I forgot the attachment

2006-06-13 10:58:23 tinu (at) humbapa (dot) ch Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Summary ⇒ JS error when viewing image (IE6)
Queue ⇒ Ansel
Reply to this comment
when I try to view an image (view.php?view=Image...) I always get

this JavaScript error:

'SlideController.photos[...].0' is null or not an object on line 5 
(see attachment)

after this, the image just shows up as a grey rectangle

I have this error since the changes to the slideshow-part 2 days ago

I only tested this on windows xp with internet explorer 6 using the latest

ansel source from CVS

Saved Queries