In v2016R1, we’re adding settings to turn off warning in JavaScript for the submitForm and mailDoc function.

Turn off warning on submitform

// turn off warning in submitform function
// before connecting to a URL
JavaScriptSettings.setSubmitFormWarn(false);

 

JavaScript warning when using the function submitform when trying to connect to a URL
This is the JavaScript warning when using the function submitform before connecting to a URL: “Allow application to connect to the following URL?”

Turn off warning on maildoc

// turn off warning in mailDoc function
// before emailing the document
JavaScriptSettings.setMailDocWarn(false);