PageSourceSearch

https://sports-academies.gr/wp-content/plugins/projectmanager/js/ajax.js

js sports-academies.gr collected 2026-10-02 14:13:24 UTC 1,368 bytes, 42 lines download raw bytes

1var Projectmanager = new Object();
2
3/**
4 * AJAX response to exchange capcha in frontend formular
5 *
6 * @param string requestURL
7 * @param int project_id
8 * @see templates/dataset-form.php
9 */
10Projectmanager.exchangeCaptcha = function( requestURL, project_id ) {
11	var ajax = new sack(requestURL);
12	ajax.execute = 1;
13	ajax.method = 'POST';
14	ajax.setVar( "action", "projectmanager_new_captcha" );
15	ajax.setVar( "project_id", project_id );
16	ajax.onError = function() { alert('Ajax error'); };
17	ajax.onCompletion = function() { return true; };
18	ajax.runAJAX();
19}
20
21/**
22 * AJAX response to toggle formfield options input
23 *
24 * @param string requestURL
25 * @param int formfield_id
26 * @param string new_formfield_type
27 * @param int project_id
28 * @see admin/formfields-row.php
29 */
30Projectmanager.toggleFormfieldOptions = function( requestURL, formfield_id, new_formfield_type, formfield_options, project_id ) {
31	var ajax = new sack(requestURL);
32	ajax.execute = 1;
33	ajax.method = 'POST';
34	ajax.setVar( "action", "projectmanager_toggle_formfield_options" );
35	ajax.setVar( "formfield_id", formfield_id );
36	ajax.setVar( "formfield_options", formfield_options );
37	ajax.setVar( "new_formfield_type", new_formfield_type );
38	ajax.setVar( "project_id", project_id );
39	ajax.onError = function() { alert('Ajax error'); };
40	ajax.onCompletion = function() { return true; };
41	ajax.runAJAX();
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.