Homec4science

BibDocFile: display file upload progress

Authored by Jerome Caffaro <jerome.caffaro@cern.ch> on Feb 11 2013, 10:30.

Description

BibDocFile: display file upload progress

  • File managemenent interface displays progress of the upload, in browsers that supports XMLHttpRequest Level 2. For others, the progress bar is replaced with a rotating indicator. When the file management interface is not used in asynchrounous upload mode (eg. in WebSubmit function 'Create_Upload_Files_Interface'), simply display the rotating indicator. An additional rotating indicator is displayed after the upload progress reports 100% complete, in order to account for server side post-processing. (closes #1021) (addresses #1020)
  • Better handles pressing of 'esc' key, in order not to close the file revision panel (the transfer is interrupted anyway by the browser; Now leaves a chance to make adjustements and "resume").
  • Also updates style of "restriction box" for corresponding tooltip to stay on same line.

Tested-by: Tibor Simko <tibor.simko@cern.ch>

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Feb 25 2013, 16:20
Parents
R3600:cd88d4ca8b42: BibDocFile: better JS washing in web UI
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:84fe3fbf06a2: BibDocFile: display file upload progress (authored by Jerome Caffaro <jerome.caffaro@cern.ch>).Feb 25 2013, 16:20