summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps
diff options
context:
space:
mode:
authorrichs <richs@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-07-03 20:14:26 +0000
committerrichs <richs@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-07-03 20:14:26 +0000
commit92fd6096c3169a48abbe2b36b268438196098053 (patch)
tree0a5ec480c69c352f081de3ee984e29ecc1b14f76 /roundcubemail/program/steps
parent13fd1f81d5e7cd425b66d7ed5b7528fd92c282d4 (diff)
Workaround for drag-drop using whitespace in FF, Junk emptying, misc fixes
git-svn-id: https://svn.roundcube.net/trunk@272 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
-rw-r--r--roundcubemail/program/steps/mail/func.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc
index 266c16336..4e88871cf 100644
--- a/roundcubemail/program/steps/mail/func.inc
+++ b/roundcubemail/program/steps/mail/func.inc
@@ -67,7 +67,8 @@ if ($CONFIG['trash_mbox'])
if ($CONFIG['drafts_mbox'])
$OUTPUT->add_script(sprintf("%s.set_env('drafts_mailbox', '%s');", $JS_OBJECT_NAME, $CONFIG['drafts_mbox']));
-
+if ($CONFIG['junk_mbox'])
+ $OUTPUT->add_script(sprintf("%s.set_env('junk_mailbox', '%s');", $JS_OBJECT_NAME, $CONFIG['junk_mbox']));
// return the mailboxlist in HTML
function rcmail_mailbox_list($attrib)
@@ -433,7 +434,11 @@ function rcmail_message_list($attrib)
if ($col=='from' || $col=='to')
$cont = rep_specialchars_output(rcmail_address_string($header->$col, 3, $attrib['addicon']));
else if ($col=='subject')
+ {
$cont = rep_specialchars_output($IMAP->decode_header($header->$col), 'html', 'all');
+ // firefox/mozilla workaround to pad subject with content so that whitespace in rows responds to drag+drop
+ $cont .= '<img src="http://www.whidbey.com/roundcube/roundcubemail/skins/default/images/cleardot.png" height="1" width="1000">';
+ }
else if ($col=='size')
$cont = show_bytes($header->$col);
else if ($col=='date')