Development

Changeset 19189

You must first sign up to be able to contribute.

Changeset 19189

Show
Ignore:
Timestamp:
06/11/09 23:08:50 (4 years ago)
Author:
joshiausdemwald
Message:

event cleanup, messages

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfWidgetFormInputSWFUploadPlugin/web/js/swfupload-widget-handler.js

    r19184 r19189  
    625625    this._files_queued --; 
    626626    this.getView().updateUI(); 
     627    if(!this.getIsInProgress()) 
     628    { 
     629      if(this._files_queued > 0) 
     630      { 
     631        this.setMessage(this._files_queued+ ' file(s) queued'); 
     632      } 
     633      else 
     634      { 
     635        this.setMessage('Queue empty'); 
     636      } 
     637      if(this.getIsError()) 
     638        this.setMessage(this.getMessage() +  '<br/>Error: One or more files could not be queued, look at the file list for further details.'); 
     639    } 
    627640  }, this); 
    628641  this.getView().appendFile(file_instance.getView());