Page MenuHomePhabricator

profile.js
No OneTemporary

profile.js

var url= '';
(function ($, Drupal, drupalSettings) {
})(jQuery, Drupal, drupalSettings);
function print_content(){
var printContents = jQuery("#block-bootstrap-content").html();
var originalContents = document.body.innerHTML;
document.body.innerHTML = printContents;
window.print();
document.body.innerHTML = originalContents;
}
function hover_share(data){
var src = data.getAttribute('src');
var hover = src.replace("1","2");
data.setAttribute('src',hover);
}
function out_share(data){
var src = data.getAttribute('src');
var hover = src.replace("2","1");
data.setAttribute('src',hover);
}
function sendmail(obj){
var data = jQuery(obj).attr('data-value');
var data_from = jQuery(obj).attr('data-from');
var from = data_from;
var content = data;
var link = "mailto:email@address.com"
+ "?subject="+from
+ "&body="+content;
window.location.href = link;
}

File Metadata

Mime Type
text/plain
Expires
Sat, Feb 1, 3:22 AM (13 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
199490

Event Timeline