Noticed this today, on clicking ‘save’ on the contextual save bar, the ‘leave site’ warning now pops up, this didn’t occur yesterday with no changes to the site.
here is our code
<ui-save-bar id="my_save_bar">
<button id="my_save_bar_save" variant="primary" onClick="doFormSubmit()"></button>
<button id="my_save_bar_reset" onClick="doFormReset()"></button>
</ui-save-bar>
...
function doFormSubmit() {
$('#my_save_bar_save').prop('disabled',true);
$('#my_save_bar_reset').prop('disabled',true);
$('#frmSettings').submit();
shopify.loading(true);
}
