diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-03-02 14:46:43 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-03-02 14:46:43 +0000 |
| commit | b0f2483d6a334aac38d6e01825d26bb25e283c6d (patch) | |
| tree | adeb2917816851283245d46cdf46e6255686906d | |
| parent | d0e379928e142e4df98b095d0ae2a41c8b64ccd1 (diff) | |
Minor bug fixes and visual enhancements
git-svn-id: https://svn.roundcube.net/trunk@1167 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/program/include/rcube_html.inc | 2 | ||||
| -rw-r--r-- | roundcubemail/program/js/app.js | 7 | ||||
| -rw-r--r-- | roundcubemail/skins/default/mail.css | 5 |
3 files changed, 8 insertions, 6 deletions
diff --git a/roundcubemail/program/include/rcube_html.inc b/roundcubemail/program/include/rcube_html.inc index d5067cd40..d23760ade 100644 --- a/roundcubemail/program/include/rcube_html.inc +++ b/roundcubemail/program/include/rcube_html.inc @@ -636,7 +636,7 @@ class select extends rcube_form_element $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/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index d1f0c9376..bbd7bfc18 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -1387,11 +1387,8 @@ function rcube_webmail() 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/roundcubemail/skins/default/mail.css b/roundcubemail/skins/default/mail.css index ac05f0124..710d74220 100644 --- a/roundcubemail/skins/default/mail.css +++ b/roundcubemail/skins/default/mail.css @@ -323,6 +323,11 @@ td.formlinks a:visited #mailboxlist li.droptarget li.selected { background-color: #929292; +} + +#mailboxlist li.selected a, +#mailboxlist li.droptarget li.selected a +{ color: #FFF; font-weight: bold; } |
