rem: var bloc_html = document.forms['send-form'].elements['body_html'];  DOM_Events.addListener('click', storeCaret, false, bloc_html); DOM_Events.addListener('select', storeCaret, false, bloc_html); DOM_Events.addListener('keyup', storeCaret, false, bloc_html); DOM_Events.addListener('keydown', storeCaret, false, bloc_html); 
add: if( DOMRangeIE ) { var bloc_html = editForm.elements['body_html'];  DOM_Events.addListener('click', storeCaret, false, bloc_html); DOM_Events.addListener('select', storeCaret, false, bloc_html); DOM_Events.addListener('keyup', storeCaret, false, bloc_html); } 
context: function make_editor(){	if( document.getElementById('textarea1') != null ) {		var bloc_text = document.forms['send-form'].elements['body_text'];				DOM_Events.addListener('click', storeCaret, false, bloc_text);		DOM_Events.addListener('select', storeCaret, false, bloc_text);		DOM_Events.addListener('keyup', storeCaret, false, bloc_text);		DOM_Events.addListener('keydown', storeCaret, false, bloc_text);				make_button(document.getElementById('textarea1'));	}		if( document.getElementById('textarea2') != null ) {		var bloc_html = document.forms['send-form'].elements['body_html'];				DOM_Events.addListener('click', storeCaret, false, bloc_html);		DOM_Events.addListener('select', storeCaret, false, bloc_html);		DOM_Events.addListener('keyup', storeCaret, false, bloc_html);		DOM_Events.addListener('keydown', storeCaret, false, bloc_html);				make_button(document.getElementById('textarea2'));	}}
meta: 7226	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7226/d392ccce4264f52054c4dc134ce41117dad812ba/editor.js/clean/templates/admin/editor.js