upgrading to tinymce 2.0.6.1

This commit is contained in:
JT Smith 2006-06-23 18:18:40 +00:00
parent f8e69afdf4
commit 0534118f8d
70 changed files with 1159 additions and 555 deletions

View file

@ -1,7 +1,7 @@
/**
* $RCSfile: form_utils.js,v $
* $Revision: 1.10 $
* $Date: 2006/03/22 12:21:24 $
* $Revision: 1.11 $
* $Date: 2006/04/07 15:53:12 $
*
* Various form utilitiy functions.
*
@ -92,9 +92,10 @@ function selectByValue(form_obj, field_name, value, add_custom, ignore_case) {
}
if (!found && add_custom && value != '') {
var option = new Option('Value: ' + value, value);
var option = new Option(value, value);
option.selected = true;
sel.options[sel.options.length] = option;
sel.selectedIndex = sel.options.length - 1;
}
return found;