/**
* The main module
*
* @context atl.general
*/
var $ = require('speakeasy/jquery').jQuery;
$(document).ready(function () {
var key = $("#key-val").text();
var summary = $("#issue_header_summary:first").text();
var inlineDialog = AJS.InlineDialog(AJS.$("#key-val"), 1,
function (content, trigger, showPopup) {
var dialogContent = '<div id="key-summary-popup">' + key + ' - ' + summary + '</div>';
inlineDialog.refresh();
$(content).html(dialogContent);
showPopup();
},
{
onHover: true, hideDelay: 1000
}
);
});