We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Huot's File Extension and upload.gif

Development and Programming

Sean Sperte's avatar
Sean Sperte
63 posts
16 years ago
Sean Sperte's avatar Sean Sperte

I noticed that the File extension stopped showing the upload.gif (progress bar) earlier this year – and just now got around to tracking down the issue.

It was broken after a build of EE fixed an issue where the previewed content was passed with the form. The fix is basically a JavaScript function added to the form using the onsubmit event. Unfortunately the event call is added via JavaScript in the head of the publish page, so the onsubmit event added to the actual HTML by Mark’s extension doesn’t work.

Here’s the official issue: http://www.w3.org/2001/12/DOM-Level-2-issues#i6

I don’t know JavaScript, so I’m unsure how to fix this. I’ve already tried adding the function call to the submit button (by hacking around in the extension and using onclick instead of onsubmit), but it doesn’t work – and sends the user to a blank page.

The upload.gif progress bar is an important visual feedback for larger files, so I’d like to get it working again.

Can anyone help?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.