|
@@ -130,7 +130,7 @@ jQuery(function($){
|
|
|
|
|
|
$('body').on('click', '.show_qid_info', function (e) {
|
|
|
e.preventDefault();
|
|
|
- var qitem = $(this).data('item');
|
|
|
+ var qitem = $(this).attr('data-item');
|
|
|
var qError = $("#qid_error");
|
|
|
|
|
|
$('#qidDetailModal').modal('show');
|
|
@@ -146,6 +146,10 @@ jQuery(function($){
|
|
|
$(this).attr("data-item", qitem);
|
|
|
});
|
|
|
|
|
|
+ $("#quick_download_link").attr("onclick", "window.open('/inc/ajax/qitem_details.php?id=" + qitem + "&eml', '_blank')");
|
|
|
+ $("#quick_release_link").attr("onclick", "window.open('/inc/ajax/qitem_details.php?id=" + qitem + "&quick_release', '_blank')");
|
|
|
+ $("#quick_delete_link").attr("onclick", "window.open('/inc/ajax/qitem_details.php?id=" + qitem + "&quick_delete', '_blank')");
|
|
|
+
|
|
|
$('#qid_detail_subj').text(data.subject);
|
|
|
$('#qid_detail_hfrom').text(data.header_from);
|
|
|
$('#qid_detail_efrom').text(data.env_from);
|