PageSourceSearch

https://gnec.org/wp-content/plugins/sp-client-document-manager/integrated/sp-cdm-media/js/scripts.js?ver=7.1.2

js gnec.org collected 2026-10-09 22:12:25 UTC 746 bytes, 42 lines download raw bytes

1jQuery( document ).ready(function($) {
2	
3	
4	
5	$(document).on('close', '.remodal', function (e) {
6   
7   	$('.sp_cdm_video_holder').remove();
8});
9	
10	
11	
12	//load edit form
13		$( document ).on( "submit", "#cdm_embed_media", function() {
14		
15					
16			
17			$.ajax({					
18				type: "POST",
19				url: sp_cdm_media.ajax,
20				data:$(this).serialize(),		
21				success: function (msg) { 
22				   var obj = jQuery.parseJSON(msg);
23				   
24				   if(obj.success == 1){
25					 
26					 
27					 cdmCloseModal('add-embed');	
28					    $('#cdm_embed_media')[0].reset();
29						cdmViewFile(obj.file_id);
30						cdm_ajax_search();
31						cdmViewFile(obj.file_id);   
32					   
33				   }
34				   
35				}
36		
37			});
38			return false;
39		});
40		
41	
42});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.