Closed (fixed)
Project:
Ooyala
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Nov 2009 at 01:00 UTC
Updated:
27 Nov 2009 at 18:30 UTC
Jump to comment: Most recent file
It looks like the Ooyala uploader triggers the "progress" event one last time after it triggers the "finished" event. This causes the phrase "Finished" to show up for just a second before being overwritten with "100%". This patch just checks to make sure that the text isn't going to be 100% before updating the progress.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | ooyala_js_cleanup.patch | 4.18 KB | quicksketch |
| #1 | ooyala_show_finished.patch | 620 bytes | quicksketch |
| ooyala_show_finished.patch | 894 bytes | quicksketch |
Comments
Comment #1
quicksketchShoot, a stray console.log() left in there.
Comment #2
quicksketchWhile poking around in the JS for the first time I found a bunch more coding style fixes that should be included too (whitespace, captialization, etc.) JavaScript is funny because it uses camelCase in Drupal, even though PHP is underscore_separated. Ah well. Here's the patch with all the cleanup too.
Comment #3
quicksketchI went ahead and committed this patch so that it would not cause conflicts with other feature patches.
Comment #4
heronog commentedperfect, thanks!