cancel in prebatch option of upload widget kills widget

Comments

6 comments

  • Avatar
    Jay Akhtar

    Hi Steeve Knight,

    I was able to test the preBatch function in the options of the Upload Widget with cancel: true in the callback and do not see any issue.

    Here is the code: https://jsfiddle.net/bdvkf795/

    See if this helps or else share a sample of your code snippet for debugging.

    Best regards,
    Jay

    0
    Comment actions Permalink
  • Avatar
    Steeve Knight

    Yep, same result. "empty", un-actionable widget following cb({cancel: true})

    btw: am stuck on jQ 2.2.4 but result seems to be same

    0
    Comment actions Permalink
  • Avatar
    Jay Akhtar

    Hi Steeve,

    I have reported this issue internally with the team and will post here when there is some update.

    Best regards,
    Jay

    0
    Comment actions Permalink
  • Avatar
    Mo Ip

    Hi Steeve,

    Just to let you know that the issue is fixed.  

    Best regards,
    Mo

    0
    Comment actions Permalink
  • Avatar
    Steeve Knight

    Thx Mo,
    Been a while since I've touched this - would there be any upgrade effort on my side?

    0
    Comment actions Permalink
  • Avatar
    Aleksandar Kostadinov

    Hi Steeve,

    If you're loading the Upload Widget source code by using https://widget.cloudinary.com/v2.0/global/all.js then you won't need to do any upgrades on your side as you'll be receiving the latest Upload Widget code automatically. You will only need to do any upgrades on your side if you have previously downloaded the Upload Widget source code and are hosting it locally yourself - such as if it's pinned to a specific version. If that is the case, then you will want to get the latest code from https://widget.cloudinary.com/v2.0/global/all.js and update your locally hosted file with that.

    0
    Comment actions Permalink

Please sign in to leave a comment.