Update bookmarklet.js

This commit is contained in:
Bengt Brodersen 2015-01-30 18:22:38 +01:00
parent ababc4a3ad
commit c6037ead0f

View File

@ -83,7 +83,7 @@ try {
jQuery("#card-print-dialog-title").text("Card Print - Loading " + issueKeyList.length + " issues..."); jQuery("#card-print-dialog-title").text("Card Print - Loading " + issueKeyList.length + " issues...");
renderCards(issueKeyList, function(){ renderCards(issueKeyList, function(){
jQuery("#card-print-dialog-title").text("Card Print"); jQuery("#card-print-dialog-title").text("Card Print");
print(); //print();
}); });
} }
@ -175,6 +175,8 @@ try {
var type = data.fields.issuetype.name.toLowerCase(); var type = data.fields.issuetype.name.toLowerCase();
console.logDebug("type: " + type); console.logDebug("type: " + type);
card.find(".card").attr("type", type); card.find(".card").attr("type", type);
ga('send', 'event', 'task', 'generate', 'card', type );
//Summary //Summary
var summary = data.fields.summary; var summary = data.fields.summary;