From aa9836224019ec670984685acf77cf39d85357be Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sun, 02 Mar 2008 09:46:43 -0500
Subject: [PATCH] Minor bug fixes and visual enhancements
---
skins/default/mail.css | 5 +++++
program/include/rcube_html.inc | 2 +-
program/js/app.js | 7 ++-----
3 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/program/include/rcube_html.inc b/program/include/rcube_html.inc
index d5067cd..d23760a 100644
--- a/program/include/rcube_html.inc
+++ b/program/include/rcube_html.inc
@@ -636,7 +636,7 @@
$value_str = $this->_conv_case(' value="%s"', 'attrib');
if (!is_array($select))
- $select = array((string)$select);
+ $select = array($select);
foreach ($this->options as $option)
{
diff --git a/program/js/app.js b/program/js/app.js
index d1f0c93..bbd7bfc 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1387,11 +1387,8 @@
this.move_messages = function(mbox)
{
// exit if current or no mailbox specified or if selection is empty
- if (!mbox || !this.env.uid || mbox==this.env.mailbox)
- {
- if (!this.message_list || !this.message_list.get_selection().length)
- return;
- }
+ if (!mbox || !this.env.uid || mbox == this.env.mailbox || !this.message_list || !this.message_list.get_selection().length)
+ return;
var lock = false;
var add_url = '&_target_mbox='+urlencode(mbox)+'&_from='+(this.env.action ? this.env.action : '');
diff --git a/skins/default/mail.css b/skins/default/mail.css
index ac05f01..710d742 100644
--- a/skins/default/mail.css
+++ b/skins/default/mail.css
@@ -323,6 +323,11 @@
#mailboxlist li.droptarget li.selected
{
background-color: #929292;
+}
+
+#mailboxlist li.selected a,
+#mailboxlist li.droptarget li.selected a
+{
color: #FFF;
font-weight: bold;
}
--
Gitblit v1.9.1