247
modifications
Modifications
m
//addEvent -> jQuery for a couple event handlers. the addEvent() calls no longer work //addEvent( texts[i], 'focus', EditTools.registerTextField ); $( texts[i] ).focus( EditTools.registerTextField );
addEvent -> jQuery for a couple event handlers. the addEvent() calls no longer work
var texts = document.getElementsByTagName( 'textarea' );
for ( var i = 0; i < texts.length; i++ ) {
//addEvent -> jQuery for a couple event handlers. the addEvent() calls no longer work //addEvent( texts[i], 'focus', EditTools.registerTextField ); $( texts[i] ).focus( EditTools.registerTextField );
}
// While we're at it, also enable it for input fields
for ( var i = 0; i < texts.length; i++ ) {
if ( texts[i].type == 'text' ) {
}
}