Fix javascript errors when progress.js and upload.js havn't been added to the page

zxombie - April 23, 2008 - 00:06
Project:File Upload Progress Monitor
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

The following patch ensures progress.js and upload.js are added to all pages that uploadprogress.js is added even if the upload module doesn't add them. If the upload module does add them the calls to drupal_add_js will not change anything.

AttachmentSize
uploadprogress.js_.diff670 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.