1/** 2 * @file 3 * Attaches the behaviors for the notion content request access. 4 */ 5 6(function($) { 7 Drupal.behaviors.notionContentRequestAccessBehavior = { 8 attach: function (context, settings) { 9 if ($('a.request-access').length > 0) { 10 $("a.request-access", context).once().click(function (event) { 11 var requestAccesslink = settings.basePath + 'notion/request-access'; 12 requestAccesslink = requestAccesslink.concat('?colorbox=true'); 13 requestAccesslink = requestAccesslink.concat('&path=' + $(this).attr('href')); 14 15 $.colorbox({ 16 href: requestAccesslink, 17 iframe: true, 18 width: 500, 19 height: 450 20 }); 21 event.preventDefault(); 22 }); 23 } 24 } 25 }; 26}(jQuery)); 27;
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.