summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-10-15 23:12:03 -0700
committerAleksander Machniak <alec@alec.pl>2013-10-15 23:12:03 -0700
commit0ce501c567077812b2594e24a6c5369e84a77513 (patch)
tree47f42c5ef75b92de5b9d6741c98ca92917001d68
parentc20fa4a1ad57a6fa013c7c9ddba72c6c3aafe345 (diff)
parent754779be6de7e2b4b754b99aaa26cb5f549791e3 (diff)
Merge pull request #137 from corbosman/master
Allow 'selected' as option tag attribute
-rw-r--r--program/lib/Roundcube/html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/html.php b/program/lib/Roundcube/html.php
index 5911c04d7..ed7eea38f 100644
--- a/program/lib/Roundcube/html.php
+++ b/program/lib/Roundcube/html.php
@@ -645,7 +645,7 @@ class html_select extends html
$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();