From 26830dcc87603d10c909e6378687d3fa9a8e323e Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Wed, 16 Oct 2013 05:20:04 -0400 Subject: [PATCH] Support 'value' and 'label' attributes on <option> tag --- 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 ed7eea3..4f87d25 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','selected')); + $this->content .= self::tag('option', $attr + $option, $option_content, array('value','label','class','style','title','disabled','selected')); } return parent::show(); -- Gitblit v1.9.1