From a6292dd0fecd4482fe863ed849d126b5281b1a8a Mon Sep 17 00:00:00 2001 From: hukl Date: Wed, 9 Sep 2009 12:07:57 +0200 Subject: huge tiny_mce update - now using the tiny_mce jquery build which allows tiny_mce to be initialized via jquery - great! --- public/javascripts/tiny_mce/utils/form_utils.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) mode change 100755 => 100644 public/javascripts/tiny_mce/utils/form_utils.js (limited to 'public/javascripts/tiny_mce/utils/form_utils.js') diff --git a/public/javascripts/tiny_mce/utils/form_utils.js b/public/javascripts/tiny_mce/utils/form_utils.js old mode 100755 new mode 100644 index c1f1409..9bc2bad --- a/public/javascripts/tiny_mce/utils/form_utils.js +++ b/public/javascripts/tiny_mce/utils/form_utils.js @@ -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 @@ function getColorPickerHTML(id, target_form_element) { var h = ""; h += ''; - h += ''; + h += ' '; return h; } @@ -50,7 +50,7 @@ function getBrowserHTML(id, target_form_element, type, prefix) { html = ""; html += ''; - html += ''; + html += ' '; return html; } @@ -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.3