[evolution/webkit: 161/196] Remove obsolete JavaScript for priting
- From: Dan VrÃtil <dvratil src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit: 161/196] Remove obsolete JavaScript for priting
- Date: Tue, 27 Mar 2012 16:14:15 +0000 (UTC)
commit a74262f3745dbe0edf34ca257d0d13c342828009
Author: Dan VrÃtil <dvratil redhat com>
Date: Tue Feb 21 15:53:39 2012 +0100
Remove obsolete JavaScript for priting
mail/em-format-html.c | 19 -------------------
1 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index 096a39f..d715a05 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -1314,25 +1314,6 @@ efh_write_message (EMFormat *emf,
"<style type=\"text/css\">\n"
" table th { color: #000; font-weight: bold; }\n"
"</style>\n"
- "<script type=\"text/javascript\">\n"
- "function set_header_visible(header,value,visible) { // Printing\n"
- " var hdrs=window.document.getElementsByClassName('header-item');\n"
- " for (var i = 0; i < hdrs.length; i++) { \n"
- " var hdr = hdrs[i]; \n"
- " if (hdr.className.indexOf('rtl') == -1) { \n"
- " if ((hdr.firstChild.textContent == header) && \n"
- " (hdr.firstChild.nextSibling.textContent == value)) { \n"
- " hdr.style.display=(visible ? 'block' : 'none');\n"
- " }\n"
- " } else { \n"
- " if ((hdr.firstChild.textContent == value) && \n"
- " (hdr.firstChild.nextSibling.textContent == header)) { \n"
- " hdr.style.display=(visible ? 'block' : 'none');\n"
- " }\n"
- " }\n"
- " }\n"
- "}\n"
- "</script>\n"
"</head><body bgcolor=\"%06x\">",
e_color_to_value (&efh->priv->colors[
EM_FORMAT_HTML_COLOR_BODY]));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]