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?
- How to Add Custom Fields to a Custom Post Type?
- Loading External Scripts in Admin but ONLY for a Specific Post Type?
- Display custom post type and custom fields within a Bootstrap Carousel
- how to filter by last name for custom post
- Search that will look in custom field, post title and post content
- Create a dropdown with Custom Post Types as option in admin
- clients list using wordpress
- Custom Taxonomy Template Post List with Sort Order
- Debug whats going on inside a function called from AJAX
- Passing Variable as URL Parameter — Security concerns?
- Is it possible to define the data type of a Custom Field?
- Filter posts with ajax form and checkboxes
- Using a Custom Field instead of original title field but only for Custom Post Type
- Add New Post (Custom Post Type) Deletes 1 Post’s Custom Meta Data
- How to use custom field to search for wordpress post type?
- How to initialize PODS?
- Add text to wordpress admin ‘Add Post’ edit
- Adding a Gutenberg-like custom field on a custom post type
- Automatically populate a hierarchical taxonomy from a custom field
- Set a default category – if the user didn’t select one- before creating a post
- WordPress posts with multiple fields
- List of Posts in a Custom Field
- Getting the URL of the parent page
- Confusion regarding Nonce & using it in Custom Columns for Saving Checkbox Value to Post Meta
- Add acf field in title (admin table)
- Storing posts from query and accessing later via AJAX call
- CPT Group by Date metabox Value
- Replace text in post from cvs
- Admin search ACF relationship
- Give a permalink to Custom Post Types without title
- Custom Post Type Nav to Subpage
- Selecting a post in Dashboard
- How do I create custom fields for multiple post types?
- Cannot add custom field to “orderby” parameter in Rest API
- Trash / Draft a WordPress custom post after custom date field expires
- Posting to a Custom Post Type from front end – user generated content
- Custom Meta Field – Remove comma from string with str_replace
- Tracking changes in admin-page so user gets warning when leaving the page
- Filter custom post types by a field value
- How to integrate a form (Ninja Form or Contact Form 7) with Custom Post Types?
- First custom field value (out of several) displayed twice after query
- CPT Validation to not show “Post updated.”
- Multiple Frontend Filters Using Advanced Custom Fields
- Is it possible to activate customfield ‘text description’ upon activating the customfield ‘checkbox’?
- Custom Field values not Showing in Edit Page of Custom Post Type
- Load Next WordPress Posts With AJAX?
- Add a custom meta box for client to order CPT posts how they want
- How to check if post/page or taxonomy post is published by admin
- CPT Columns doesn’t show categories
- Showing User’s Post Counts by Custom Post Type in the Author.php?
- filter by custom taxonomy using ajax
- Get post content from another section in custom single page
- Modify Posts from Custom_Post_Type within the plugin
- How to convert custom fields to content
- Increasing the default number of posts in custom post types
- Group by custom field value (start and end times)
- Variable Products as custom post types
- How to call a post’s metadata in shortcode.php?
- Ideas to connect external database table to wordpress posts as custom field source
- updating one custom meta field only
- Get post-meta value of all custom-posts – lowest to highest year-count?
- Confusion about how to use Custom Post Types, Custom Taxonomy or Category?
- Displaying Posts Using a Custom Query with a Custom Field and a term_id
- add_filter get array data before display in custom post_type
- Create an user checklist system for a course plateform using ACF Pro and ACF Extended
- How to sort WP_Query by a custom text field (written as a date dd/mm/yyyy)
- Ajax Post Filter | Split Taxonomy Into minPrice & maxPrice
- Auto update publish date of CPT Post if default post custom field value match to cpt post CF Value
- Post Click Redirect to Custom URL instead of Single Post Page
- wp_insert_post deleting previous post custom meta
- Show posts from WP Custom Post Type selected from a field in a metabox
- How to hide private posts even if user is admin
- Query custom post type and custom field by URL parameters
- Show Post columns to specific users on condition
- Create Inclusions and exclusions
- Populate custom post type/custom fields from an external database
- Importing URLs of Audio Enclosures
- Retrieving custom post type fields without a post
- pre_get_posts with multiple post types AND a meta_key
- Search form to find custom meta box generated data
- Custom Info Box at end of posts?
- Show Custom Post Type taxonomy term that matches custom field
- Redirect preview single post link to a page
- Query Distinct Taxonomies of Custom Post Type
- loop through custom post-type with two meta_keys
- Custom Post Type + Custom Meta Query Not Showing 2012 Posts
- Send email on creation of custom post type and use get_post_meta()
- Post object GUID adding http:/
- WordPress does not show the custom fields box
- Query order by a numeric ACF field