From: Michael M Slusarz Date: Fri, 7 May 2010 21:59:12 +0000 (-0600) Subject: Fix incomplete merging from a local branch X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=3531e5b053d8cff1c880bfad26b1f3b1304bae2a;p=horde.git Fix incomplete merging from a local branch --- diff --git a/imp/js/fullmessage-dimp.js b/imp/js/fullmessage-dimp.js index d49cf116d..6e3083fee 100644 --- a/imp/js/fullmessage-dimp.js +++ b/imp/js/fullmessage-dimp.js @@ -149,6 +149,14 @@ var DimpFullmessage = { DimpCompose.confirmCancel(); } break; + + default: + if (elt.hasClassName('printAtc')) { + DimpCore.popupWindow(DimpCore.addURLParam(DIMP.conf.URI_VIEW, { uid: this.uid, mailbox: this.mailbox, actionID: 'print_attach', id: elt.getAttribute('mimeid') }, true), this.uid + '|' + this.mailbox + '|print', IMP.printWindow); + e.stop(); + return; + } + break; } elt = elt.up(); diff --git a/imp/lib/Views/ShowMessage.php b/imp/lib/Views/ShowMessage.php index 9866e0b95..f379ce430 100644 --- a/imp/lib/Views/ShowMessage.php +++ b/imp/lib/Views/ShowMessage.php @@ -250,7 +250,7 @@ class IMP_Views_ShowMessage IMP_Contents::SUMMARY_DESCRIP_LINK | IMP_Contents::SUMMARY_DOWNLOAD | IMP_Contents::SUMMARY_DOWNLOAD_ZIP | - IMP_Contents::SUMMARY_PRINT; + IMP_Contents::SUMMARY_PRINT_STUB; $part_info = $part_info_display = array('icon', 'description', 'size', 'download', 'download_zip'); $part_info_display[] = 'print';