Skip to content

Version 5.0.1

Compare
Choose a tag to compare
@kartik-v kartik-v released this 26 Mar 12:13
· 283 commits to master since this release

Date: 26-Mar-2019

  • (enh #1382): Better defaults for resumableUploadOptions.chunkSize and progressDelay.
    • Set defaults for progressDelay to 0 and resumableUploadOptions.chunkSize to 2048 KB i.e. (2 MB)
  • (bug #1381): Fix uploadExtraData to be submitted correctly with ajax responses.
  • (enh #1379): Add ability to sanitize zoom cache. New property sanitizeZoomCache which is a function callback and defaults to:
    function(content) {
        var $container = $(document.createElement('div')).append(content);
        $container.find('input,select,.file-thumbnail-footer').remove();
        return $container.html();
    }
  • (enh #276): Add ability to change ajax submission URL dynamically e.g. uploadUrl, deleteUrl, resumableUploadOptions.testUrl.
    These can now be also setup as a function callback that will be executed at runtime.