Continue Upload Script.

Pause during rewrite of RHPZ Server code.
This commit is contained in:
2026-01-29 18:49:47 +01:00
parent f029371a68
commit f34019c802
9 changed files with 210 additions and 7 deletions

View File

@@ -9,7 +9,10 @@ document.addEventListener('DOMContentLoaded', () => {
// Add PostID if edit.
let url_params = new URLSearchParams(window.location.search);
// @ts-ignore
I.is_edit = url_params.has( 'edit_entry' );
I.custom_post_type = jQuery( 'input[name="custom_post_type"]').val() || 'unknown';
I.reserved_post_id = url_params.get('edit_entry' ) || null;
// @ts-ignore