Use a specific version of JSD Widget

Hello, I am using the JSD Widget (https://jsd-widget.atlassian.com/assets/embed.js) and I have customized it programmatically via javascript. Recently the code changed and broke one of my changes.

I am inserting the current user’s email in the email field like so:

let iframe = document.getElementById("jsd-widget");
let iframeContent = iframe.contentDocument;
let email = iframeContent.getElementById("email");
email.value = $email;

However, since a recent code change, when I populate that field, the send button no longer submits the form. Any idea why this is happening, and any thoughts on a possible solution?

And also, is there a way to get a specific version of the JSD Widget, which would at least shield me from changes? That way I can make my customizations without worrying that they will break after another update.

Joe.

1 Like