Continue Upload Script.
Pause during rewrite of RHPZ Server code.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user