From 58fb6502e3550e59afa8799d36dfce61a18f8b1b Mon Sep 17 00:00:00 2001 From: alecpl Date: Tue, 15 Dec 2009 08:48:45 +0000 Subject: - Updated TinyMCE to 3.2.7 --- program/js/tiny_mce/utils/form_utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'program/js/tiny_mce/utils') diff --git a/program/js/tiny_mce/utils/form_utils.js b/program/js/tiny_mce/utils/form_utils.js index dd45e730d..9bc2bad4b 100644 --- a/program/js/tiny_mce/utils/form_utils.js +++ b/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; -- cgit v1.2.3