Thanks for the module.

I needed to do this:

--- a/js/upload_progress.js
+++ b/js/upload_progress.js
@@ -6,7 +6,7 @@
 Drupal.behaviors.upload_progress = {
   attach: function (context, settings) {
 
-    jQuery("input[type=submit]", ".file-widget, .image-widget").each(function(el) {
+    jQuery("input[type=submit]", ".file-widget, .image-widget, .form-type-managed-file").each(function(el) {
       var ajax = Drupal.ajax[this.id];
       ajax.progress.url = undefined;
       ajax.options.uploadProgress = function(event, partial, total, percentage) {

To get it to attach to my custom managed file upload fields. Any reason why it shouldn't include this?

Comments

artfulrobot created an issue.

Pierre.Vriens’s picture

Just in case it may help as a "motivation" about where this patch originated from: have a look at http://drupal.stackexchange.com/questions/138628/my-pecl-uploadprogress-... ...

PS: good luck @wmnnd to soon (finally) have your sandbox promoted to a full project ... sooooooon!