From 8a8560c1b75ce5cb9f3b86bf3cba19c6df5000ff Mon Sep 17 00:00:00 2001 From: donncha Date: Fri, 26 Jan 2007 12:57:25 +0000 Subject: WP Merge to rev 4813 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@868 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-includes/js/tinymce/utils/editable_selects.js | 61 ++++++++++++++++++++++++ wp-includes/js/tinymce/utils/form_utils.js | 4 +- wp-includes/js/tinymce/utils/mclayer.js | 4 +- wp-includes/js/tinymce/utils/mctabs.js | 4 +- wp-includes/js/tinymce/utils/validate.js | 4 +- 5 files changed, 69 insertions(+), 8 deletions(-) create mode 100644 wp-includes/js/tinymce/utils/editable_selects.js (limited to 'wp-includes/js/tinymce/utils') diff --git a/wp-includes/js/tinymce/utils/editable_selects.js b/wp-includes/js/tinymce/utils/editable_selects.js new file mode 100644 index 0000000..e723365 --- /dev/null +++ b/wp-includes/js/tinymce/utils/editable_selects.js @@ -0,0 +1,61 @@ +/** + * $Id: editable_selects.js 162 2007-01-03 16:16:52Z spocke $ + * + * Makes select boxes editable. + * + * @author Moxiecode + * @copyright Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved. + */ + +var TinyMCE_EditableSelects = { + editSelectElm : null, + + init : function() { + var nl = document.getElementsByTagName("select"), i, d = document, o; + + for (i=0; i