Multiple problems:

1. Only the first widget is not grayed-out.
2. Even the first widget does not actually work (incorrect "exceeds maximum filesize" warnings" -- see http://drupal.org/node/716688).

Windows XP
Firefox 3.5.7

Let me know if any further information would be helpful. And thanks for working towards making this module compatible with CCK filefield!

CommentFileSizeAuthor
#5 swfupload-716690-1.patch1.33 KBskilip

Comments

jordanmagnuson’s picture

In Google Chrome, having more than one widget makes them ALL gray out. See http://drupal.org/node/716670

skilip’s picture

Thanks for reporting (Jordan??). I haven't got the time to debug this ATM but will work on this asap.

lysander19’s picture

For me the problem seems to be only that settings flash_url is not filled only at the first instance.

I changed swfupload.module line 228: //'flash_url' => base_path() . str_replace('.js', '.swf', array_shift($swfupload_library->scripts['2.2.0.1'])),
to : 'flash_url' => base_path() . str_replace('.js', '.swf', $swfupload_library->scripts['2.2.0.1']['swfupload.js']),

and it works like a charm.

hope it helps

keith_k’s picture

# 3 works. I recommend we keep the fix.

skilip’s picture

Status: Active » Needs review
StatusFileSize
new1.33 KB

This patch should fix this

eugenmayer’s picture

Version: 6.x-2.0-beta2 » 6.x-2.0-beta3

reviewed. Applied, tested - worked. I testede it in combination with also the other fixes - no side effects.

Switching over to beta3, as its also not fixed. Iam all for going to "reviewed and tested"

skilip’s picture

Status: Needs review » Patch (to be ported)
skilip’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.