1(function ($, Drupal, drupalSettings) { 2 Drupal.behaviors.UserShareContentForm = { 3 attach: function (context) { 4 $(document).ready(function(){ 5 }); 6 } 7 } 8}(jQuery, Drupal, drupalSettings)); 9 10 11 12function share_mail_to(){ 13 let uri = $('.get-uri')[0].value; 14 let emailTo =""; 15 let emailCC =""; 16 let emailSub ="Partage de contenu"; 17 let emailBody ="Je partage avec vous ce contenu intéressant : "+uri; 18 location.href = "mailto:"+emailTo+'?cc='+emailCC+'&subject='+emailSub+'&body='+emailBody; 19} 20 21const FORM_USER_SHARE_CONTENT_ID = "opac_user_share_content_form"; 22 23window.initFormUserShareContent = () => { 24 opacManageContentCallbackOpenModal(); 25 window["initGeneriqueForm"](); 26 window["replace_ckeditor"]("/modules/custom/ls_custom_form/js/ckeditor_config/cke-html-complet.js", FORM_USER_SHARE_CONTENT_ID); 27 28}; 29 30window.closeFormUserShareContent = () => { 31 opacManageContentCallbackCloseModal(); 32};
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.