add:  for (id in objectFields) { objId = objectFields[id]  tinyMCE.execCommand ("mceAddControl", true, "mceReplaceMe" + objId) if (firstBox) { tinyMCE.execCommand ("mceRemoveControl", false, "mceReplaceMe" + objId) tinyMCE.execCommand ("mceAddControl", true, "mceReplaceMe" + objId) firstBox = false }  obj = document.getElementById ("mceReplaceMe" + objId) obj.style.margin = "20px" obj.style.width = "90%" } 
context: function addFieldCreateButtonClicked (){	div = addField.div	div.style.visibility = "hidden"	// Figure out which fields were selected and add them to the view	options = div.options	for (i in options)	{		if (options[i].selected)		{			field = div.options[i].fieldName			lessonPlan.addField (field, optionalFields[field], true, true)			optionalFields[field][FIELD_USED] = true		}	}}
meta: 4793	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4793/6325ec8071c18c48ad2607ccd170da5dd08df2e1/lesson_plan.js/clean/teaching_boxes/web/scripts/lesson_plan.js