You can try clearing window.onbeforeunload with the following Javascript after your AJAX save:
window.onbeforeunload = null;
Related Posts:
- How can I change the admin search posts fields?
- Development of a WordPress Search Plugin – Best Practices
- Admin Area Custom Type Search By Meta Fields Without Title & Content
- Add custom column to custom post type overview in backend
- Ajax form filter post by custom fields [closed]
- How to add a custom-post-type post within another custom-post-type post edit screen using AJAX?
- Custom post type’s extra fields – how to handle?
- How do I update_post_meta() or add_post_meta() with an AJAX call
- Change Post Meta via AJAX from the posts list table
- How can I create a button that when clicked populates a div with a list of foods that are checked as a certain type of ACF?
- Sorting custom post type columns with external data and without meta values
- Why get_posts() not returning only selected category posts from Custom Post Type?
- Storing posts from query and accessing later via AJAX call
- Two near-identical custom field types – one works, the other doesn’t . What can cause this?
- Meta Key Value in current-user-only loop
- Retrieve value of a category’s custom field
- Calculate all custom field values in the post loop
- Rewrite and custom post type: order by custom field not working
- Loading custom content type from ajax results?
- add custom field to custom post type
- How to set up multisite for multi language?
- CPT Group by Date metabox Value
- How to check if user meta field is empty in conditional else statement
- Replace text in post from cvs
- Admin search ACF relationship
- wp_query check if integer exists in custom field’s array
- Adding HTML tags or css classes to admin columns
- How can I dynamically add a post to a custom post type which uses a custom field?
- Filtering custom post type on a combination of custom taxonomies and custom fields?
- Custom Posts Types as Custom Fields
- Get image post ID in media upload
- Create a page that will be used to create a custom post type
- Why is my select meta data not saving?
- Customize my custom taxonomy table in Admin panel
- dynamically add a custom field or metabox to custom post type [duplicate]
- Give a permalink to Custom Post Types without title
- Role scoping for contributors down to the field level
- How to implement a Google map store locator
- Get parse_query filter to return slug instead of id
- Creating a Custom Post as a repository for theme constants
- Custom Post Type Nav to Subpage
- search also in taxonomy, tags and custom fields
- Random image from tag/custom type on sidebar
- How to stick custom post at the top in search results
- Selecting a post in Dashboard
- How do I create custom fields for multiple post types?
- Custom admin post.php page
- Add field to all custom post types
- Query & Order posts by custom fields
- Filter custom posts using auto populated dropdown selectors
- A simple script to allow sorting of custom posts in admin?
- How do I associate a custom post type with another through a taxonomy or storing an ID in a custom field?
- Custom post type content using custom fields without template
- Notify admin on new submit
- Cannot add custom field to “orderby” parameter in Rest API
- What is the recommended / best way to do this: Event calendar post/type in a block-based theme?
- retrieve Meta field value from CPT and set those values as Image Meta Field “Title”
- Having unique constraints for custom fields in a custom post type
- AJAX load more for different custom post type loops
- Querying Two Custom Post Types with OR Not Working
- How can I get the number of custom post type posts that have a specific attachment image set?
- Trash / Draft a WordPress custom post after custom date field expires
- Set a maxlength for the title input in a custom post type
- Posting to a Custom Post Type from front end – user generated content
- Display custom fields from custom posts in RSS feed
- Bulk Update Custom Fields for Custom Post Types
- On update or create post redirect to current post position in list
- Ajax Custom Post Filter is not filtering
- How can I use get_post_meta with add_rewrite_rule to build custom permalinks?
- Visual editor issue by having multiple tiny mce editors in a CPT
- WordPress Custom Fields Won’t Save
- Update Post Meta for a logged in user
- Problem querying Custom post type by custom fields
- Found 2 elements with non-unique id (#_ajax_nonce) and (#_wpnonce)
- Add custom field to Posts and sort by it
- Orderby CPT custom fields not working
- WP_Query order by custom field, then randomly order some of results
- A better way to add a meta box to custom post types
- Rows with custom columns not well formatted after Quick Edit save
- WP_Query inside foreach loop returning same value for all options when filtered using ajax
- Plugin – Combine Meta Box Input Fields into single saveble record
- Two Custom Post Types Many to Many Relationship
- Show custom post type relationships by taxonomy
- get_post_meta not working on publishing
- Query custom post type with ACF Date
- JS innerhtml changing style when using AJAX
- Custom setting to show or hide field
- Custom Meta Field – Remove comma from string with str_replace
- Store CPT ‘Reviews’ average ratings to a WordPress DB table or to a DB custom table?
- Using custom field content as expression in IF statement [closed]
- Meta Query Not Returning Output Despite Having Matching Values
- Options page – dropdown of users
- How to create a custom post type with additional fields?
- Callback to custom field is not working in WordPress REST API
- Meta Query Filtering not working on Custom Meta Box using Radio Buttons
- Including metaboxes from custom post types in global search — continued
- ACF From & To Date Validations
- How do I set all of a particular post meta to a value within the custom post type I’m in?
- Query Multiple Custom Posts by Custom Fields
- Show image gallery from a custom field