PHP Classes
elePHPant
Icontem

File: src/Cabin/Bridge/public/perms_index.js

Recommend this page to a friend!
  Classes of Scott Arciszewski  >  CMS Airship  >  src/Cabin/Bridge/public/perms_index.js  >  Download  
File: src/Cabin/Bridge/public/perms_index.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: CMS Airship
Content management system with security features
Author: By
Last change: CSRF rework: Now include AJAX tokens.
Date: 1 year ago
Size: 430 bytes
 

Contents

Class file image Download
$(document).ready(function() {
    $("#test_url_btn").click(function() {
        return $.post(
            $("#bridge_main_menu_left").data('linkprefix') + "ajax/perm_test",
            {
                "url": $("#test_url").val(),
                "csrf_token": $("body").data('ajaxtoken')
            },
            function (result) {
                $("#perms-test-results").html(result);
            }
        );
    });
});