From 754779be6de7e2b4b754b99aaa26cb5f549791e3 Mon Sep 17 00:00:00 2001
From: corbosman <github@wa.ter.net>
Date: Tue, 15 Oct 2013 16:54:22 -0400
Subject: [PATCH] Allow selected as attribute

---
 program/lib/Roundcube/html.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/lib/Roundcube/html.php b/program/lib/Roundcube/html.php
index 5911c04..ed7eea3 100644
--- a/program/lib/Roundcube/html.php
+++ b/program/lib/Roundcube/html.php
@@ -645,7 +645,7 @@
                 $option_content = self::quote($option_content);
             }
 
-            $this->content .= self::tag('option', $attr + $option, $option_content, array('class','style','title','disabled'));
+            $this->content .= self::tag('option', $attr + $option, $option_content, array('class','style','title','disabled','selected'));
         }
 
         return parent::show();

--
Gitblit v1.9.1