summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js/tiny_mce/utils
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-12-15 08:48:45 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-12-15 08:48:45 +0000
commit564f9c39043792c0ffe017aa6b434a574c384e3b (patch)
treec9eed1e79d8865d3f36db6bcc288fa29dccc4093 /roundcubemail/program/js/tiny_mce/utils
parentd303fbfb23467b9c22ed429e9f6a786627afd401 (diff)
- Updated TinyMCE to 3.2.7
git-svn-id: https://svn.roundcube.net/trunk@3182 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/tiny_mce/utils')
-rw-r--r--roundcubemail/program/js/tiny_mce/utils/form_utils.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/program/js/tiny_mce/utils/form_utils.js b/roundcubemail/program/js/tiny_mce/utils/form_utils.js
index dd45e730d..9bc2bad4b 100644
--- a/roundcubemail/program/js/tiny_mce/utils/form_utils.js
+++ b/roundcubemail/program/js/tiny_mce/utils/form_utils.js
@@ -1,5 +1,5 @@
/**
- * $Id: form_utils.js 996 2009-02-06 17:32:20Z spocke $
+ * $Id: form_utils.js 1184 2009-08-11 11:47:27Z spocke $
*
* Various form utilitiy functions.
*
@@ -92,7 +92,7 @@ function selectByValue(form_obj, field_name, value, add_custom, ignore_case) {
function getSelectValue(form_obj, field_name) {
var elm = form_obj.elements[field_name];
- if (elm == null || elm.options == null)
+ if (elm == null || elm.options == null || elm.selectedIndex === -1)
return "";
return elm.options[elm.selectedIndex].value;