Only load img_assist.js when necessary
casey - March 21, 2006 - 13:33
| Project: | Image Assist |
| Version: | 6.x-1.0-beta1 |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | sun |
| Status: | duplicate |
Description
Move code which loads img_assist.js and other js from img_assist_menu() to img_assist_textarea() so it only will be loaded when neccesary.

#1
#2
I second this, that script is quite big and completely useless for most visitors of a site.
#3
Looks very reasonable. I'd just like to get some confirmation that everything's working alright quickly before committing. I'll try to test it myself.
#4
Just subscribing
#5
#6
+1. It's definitively a good feature to add!
#7
#8
Re-classifying for 6.x.
#9
This is also implemented by #246385: Handle teaser splitter, separate JS/CSS which I think is getting close to RTBC.