Closed (fixed)
Project:
FileField
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Dec 2008 at 23:57 UTC
Updated:
19 Jan 2009 at 22:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
Flying Drupalist commentedBut if you use javascript aggregation then it shouldn't matter. Having them separately requires you to load a different aggregated js for different pages, which would nullify any gains from loading separately.
Comment #2
robloachOne of my sites, I don't use JavaScript at all. So the page is being rendered with jQuery, FileField and Drupal.settings.basePath, and isn't even using them. Would be nice to only include it when it's required. I'll have a look at this on Monday.
Comment #3
robloachThis patch only presents the JavaScript file when the file widget is being used.
Comment #4
robloachComment #5
drewish commentedthanks committed to HEAD.