LimeSurvey: master e3229069

Author Committer Branch Timestamp Parent
gabrieljenik gabrieljenik master 2020-08-18 19:00:29 master be5f29fc
Affected Issues  16194: file upload disables other clicks
 16549: Error message is shown while trying to delete and reupload file using File upload
Changeset

Fixed issue 16194: file upload disables other clicks.

After loading the upload frame inside the modal, 'relevance:on' event handlers are lost.
Calling triggerEmRelevance() when closing the modal fixes the issue.

Removes the cache for the currentUploadHandler. This wasn't working for multiple upload question in the same as it was caching it on a window level variable. Removed the cache for simplifiying.

Contains also fix for 16549: Error message is shown while trying to delete and reupload file using File upload

mod - assets/packages/questions/upload/build/uploadquestion.js Diff File
mod - assets/packages/questions/upload/build/uploadquestion.min.js Diff File
mod - assets/packages/questions/upload/build/uploadquestion.min.js.map Diff File
mod - assets/packages/questions/upload/src/ajaxupload.js Diff File
mod - assets/packages/questions/upload/src/modaldialog.js Diff File
mod - assets/packages/questions/upload/src/uploader.js Diff File