rem: for (var instanceName in tinyMCE.instances) { var instance = tinyMCE.instances[instanceName]; 
add: for (var n in tinyMCE.instances) { var inst = tinyMCE.instances[n]; 
context: function TinyMCE_triggerSave(skip_cleanup, skip_callback) {	// Cleanup and set all form fields	for (var instanceName in tinyMCE.instances) {		var instance = tinyMCE.instances[instanceName];		tinyMCE.settings['preformatted'] = false;		// Default to false		if (typeof(skip_cleanup) == "undefined")			skip_cleanup = false;		// Default to false		if (typeof(skip_callback) == "undefined")			skip_callback = false;		tinyMCE._setHTML(instance.contentWindow.document, instance.contentWindow.document.body.innerHTML);		var htm = skip_cleanup ? instance.contentWindow.document.body.innerHTML : tinyMCE._cleanupHTML(instance.contentWindow.document, this.settings, instance.contentWindow.document.body, this.visualAid, true);		//var htm = tinyMCE._cleanupHTML(instance.contentWindow.document, tinyMCE.settings, instance.contentWindow.document.body, false, true);		if (tinyMCE.settings["encoding"] == "xml" || tinyMCE.settings["encoding"] == "html")			htm = tinyMCE.convertStringToXML(htm);		if (!skip_callback && tinyMCE.settings['save_callback'] != "")			var content = eval(tinyMCE.settings['save_callback'] + "(instance.formTargetElementId,htm,instance.contentWindow.document.body);");		// Use callback content if available		if ((typeof(content) != "undefined") && content != null)			htm = content;		// Replace some weird entities (Bug: #1056343)		htm = tinyMCE.regexpReplace(htm, "&#40;", "(", "gi");		htm = tinyMCE.regexpReplace(htm, "&#41;", ")", "gi");		htm = tinyMCE.regexpReplace(htm, "&#59;", ";", "gi");		htm = tinyMCE.regexpReplace(htm, "&#34;", "&quot;", "gi");		htm = tinyMCE.regexpReplace(htm, "&#94;", "^", "gi");		instance.formElement.value = htm;	}}
meta: 5314	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5314/914f29b169169eaf678616905b5062afd73de30a/tiny_mce_src.js/buggy/www/extras/tinymce/jscripts/tiny_mce/tiny_mce_src.js