Reply To: how to disable stay on page confirmation popup from registration page
i disable it in file members/js/buddypress.js
/*jq('#profile-edit-form input:not(:submit), #profile-edit-form textarea, #profile-edit-form select, #signup_form input:not(:submit), #signup_form textarea, #signup_form select').change( function() {*/ //line changed
jq('#profile-edit-form input:not(:submit), #profile-edit-form textarea, #profile-edit-form select').change( function() {
var shouldconfirm = true;
jq('#profile-edit-form input:submit, #signup_form input:submit').on( 'click', function() {
shouldconfirm = false;
});
window.onbeforeunload = function(e) {
if ( shouldconfirm ) {
return BP_DTheme.unsaved_changes;
}
};
});