upgrading to tinymce 2.0.6.1
This commit is contained in:
parent
f8e69afdf4
commit
0534118f8d
70 changed files with 1159 additions and 555 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue