summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-10-16 11:20:04 +0200
committerAleksander Machniak <alec@alec.pl>2013-10-16 11:20:04 +0200
commit26830dcc87603d10c909e6378687d3fa9a8e323e (patch)
treeced606d5599af303c9b0b6458c739d9b463ae93f /program
parente2f90dbd4e25c9c95764c30126ad7d2a1ec213c0 (diff)
Support 'value' and 'label' attributes on <option> tag
Diffstat (limited to 'program')
-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 ed7eea38f..4f87d2599 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','selected'));
+ $this->content .= self::tag('option', $attr + $option, $option_content, array('value','label','class','style','title','disabled','selected'));
}
return parent::show();