diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-09-27 08:27:02 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-09-27 08:27:02 +0200 |
commit | 700dc66c679f0ae6e16c9d016a15bee4269371e6 (patch) | |
tree | 21f30c64e3f2559d015777ec7798855d32be24b5 /program/steps/addressbook/edit.inc | |
parent | 18df6f38adb9fb067af104e4cf9484904bf49365 (diff) | |
parent | dc8f292b215719506c2ab0abd8429f4c5ec5c0ed (diff) |
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'program/steps/addressbook/edit.inc')
-rw-r--r-- | program/steps/addressbook/edit.inc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/program/steps/addressbook/edit.inc b/program/steps/addressbook/edit.inc index 90069a7eb..b216a7c70 100644 --- a/program/steps/addressbook/edit.inc +++ b/program/steps/addressbook/edit.inc @@ -244,11 +244,12 @@ function rcmail_source_selector($attrib) if (count($sources_list) < 2) { $source = $sources_list[$SOURCE_ID]; $hiddenfield = new html_hiddenfield(array('name' => '_source', 'value' => $SOURCE_ID)); - return html::span($attrib, Q($source['name']) . $hiddenfield->show()); + return html::span($attrib, $source['name'] . $hiddenfield->show()); } - $attrib['name'] = '_source'; - $attrib['onchange'] = JS_OBJECT_NAME . ".command('save', 'reload', this.form)"; + $attrib['name'] = '_source'; + $attrib['is_escaped'] = true; + $attrib['onchange'] = JS_OBJECT_NAME . ".command('save', 'reload', this.form)"; $select = new html_select($attrib); |