Closed (fixed)
Project:
SWFUpload
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
2 Sep 2007 at 15:19 UTC
Updated:
26 Sep 2007 at 09:12 UTC
In function _swfupload_form() for some reason we're using drupal_set_html_head instead of drupal_add_js(). How would it interfere with other javascript?
$path = drupal_get_path('module', 'swfupload');
drupal_set_html_head(_swfupload_get_js()); // i prefer to add the swfupload js this way because otherwise it may interfere
// with other js, e.g. from webfm module
// drupal_add_js($path .'/swfupload/SWFUpload.js');
// drupal_add_js($path .'/callbacks.js');
drupal_add_css($path .'/swfupload.css');
Comments
Comment #1
robloachThis fixed a lot of issues with both Firefox and IE, since it now has the jQuery browser check.
Comment #2
(not verified) commented