HEX
Server: nginx/1.24.0
System: Linux 0c1023d6c65e 6.8.0-137-generic #137-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 17 20:28:23 UTC 2026 x86_64
User: root (0)
PHP: 8.3.33
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/thegem-elements-elementor/js/remote-upload.js
(function($) {
	$(function() {

		$('body').on('click', '#thegem-remote-upload-button', function(e) {
			var urls = $(this).prev('textarea').val();
			e.preventDefault();
			$.ajax({
				url: ajaxurl,
				data: {action: 'thegem_remote_upload_ajax', urls: urls, security: thegem_remote_upload_object.security},
				method: 'POST',
				timeout: 50000
			}).done(function(msg) {
				console.log(msg);
			}).fail(function() {
				console.log('error');
			});
		});

	});
})(jQuery);