param and variable arrays broken in IE

canaryMason - June 18, 2008 - 18:13
Project:SWFObject API
Version:5.x-2.0-beta1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

The loops used to create the parameter and variable arrays were inserting a comma after the last item, and this was throwing an error in IE. I've changed the loop to fix this.

I've also changed the default 'no_flash' text from
'Sorry, you need to install flash to see this content.'
to
'Sorry, you need to install flash and turn on JavaScript to see this content.'

AttachmentSize
swfobject_api.module - remove comma from last array item.patch1.83 KB

#1

arthurf - December 31, 2008 - 21:51
Status:needs review» closed

This was fixed in the latest release.

 
 

Drupal is a registered trademark of Dries Buytaert.