diff -r 5882f0eebb34 -r e3b94bd055dc includes/clientside/tinymce/utils/form_utils.js
--- a/includes/clientside/tinymce/utils/form_utils.js Mon Dec 21 15:41:05 2009 -0500
+++ b/includes/clientside/tinymce/utils/form_utils.js Tue Dec 22 13:09:59 2009 -0500
@@ -1,5 +1,5 @@
/**
- * $Id: form_utils.js 673 2008-03-06 13:26:20Z spocke $
+ * $Id: form_utils.js 1184 2009-08-11 11:47:27Z spocke $
*
* Various form utilitiy functions.
*
@@ -13,7 +13,7 @@
var h = "";
h += '';
- h += '';
+ h += ' ';
return h;
}
@@ -50,7 +50,7 @@
html = "";
html += '';
- html += '';
+ html += ' ';
return html;
}
@@ -92,7 +92,7 @@
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;