PageSourceSearch

https://isplc2023.ieee-isplc.org/wp-content/plugins/cf7-marketo-li…/admin/assets/js/marketo-admin.js?ver=6.4.2

js ieee-isplc.org collected 2026-10-07 23:04:33 UTC 3,102 bytes, 88 lines download raw bytes

1jQuery(document).ready( function() {
2
3   jQuery(".marketo_add_exist_list_btn").click( function(e) {
4      e.preventDefault(); 
5      nonce = jQuery(this).attr("data-nonce");
6      marketo_exist_list_name = jQuery( ".marketo_exist_list_name" );
7      marketo_search_message = jQuery( ".marketo_search_message" );
8      marketo_search_existing_list = jQuery( ".marketo_search_existing_list" );
9      marketo_add_exist_list_btn = jQuery( ".marketo_add_exist_list_btn" );
10      marketo_search_existing_list.html( "loading ..." );
11      marketo_search_message.html( "" );
12
13      if( marketo_exist_list_name.val() == '' ){
14         return false;
15      }
16
17      marketo_exist_list_name.attr( 'disabled', true );
18      marketo_add_exist_list_btn.attr( 'disabled', true );
19
20      jQuery.ajax({
21         type : "post",
22         dataType : "json",
23         url : marketoAjax.ajaxurl,
24         data : {action: "marketo-search-existing-list", nonce: nonce, list_name : marketo_exist_list_name.val()},
25         success: function(response) {
26            
27            marketo_search_message.html( "" );
28            marketo_search_existing_list.html( "" );
29            marketo_exist_list_name.removeAttr( 'disabled' );
30            marketo_add_exist_list_btn.removeAttr( 'disabled' );
31
32            if(response.response_code == 1 ) {
33               marketo_search_message.html(response.response_message);
34               marketo_search_existing_list.html(response.response_body);
35            }
36            else {
37               marketo_search_message.html(response.response_message);
38               marketo_search_existing_list.html( '' );
39            }
40         }
41      });   
42
43   });
44
45   jQuery( "body" ).delegate( '.add_marketo_list_name_action_btn', 'click', function(e) {
46      e.preventDefault(); 
47
48      $this = jQuery(this);
49
50      marketo_search_message = jQuery( ".marketo_search_message" );
51      marketo_search_message.html( "" );
52
53      $data = {
54         mkto_list_id : $this.data( "mkto_list_id" ),
55         mkto_name : $this.data( "mkto_name" ),
56         mkto_programname : $this.data( "mkto_programname" ),
57         mkto_workspacename : $this.data( "mkto_workspacename" ),
58         mkto_createdat : $this.data( "mkto_createdat" ),
59         mkto_updatedat : $this.data( "mkto_updatedat" ),
60         nonce : $this.data( "nonce" ),
61         action: "marketo-add-existing-list"
62      };
63
64      
65      $this.next( ".spinner" ).css( 'visibility', 'visible'  );
66
67      jQuery.ajax({
68         type : "post",
69         dataType : "json",
70         url : marketoAjax.ajaxurl,
71         data : $data ,
72         success: function(response) {
73            $this.next( ".spinner" ).css( 'visibility', 'hidden'  );
74            if(response.response_code == 1 ) {
75               marketo_search_message.html(response.response_message);
76            }
77            else {
78               marketo_search_message.html(response.response_message);
79            }
80         }
81      });   
82   });
83
84
85   jQuery('.marketo_select_list').select2();
86   
87
88});

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.