rem: var field = el[0] || el; if (field.type == 'radio' || field.type == 'checkbox') event = 'click'; else if (obs && field.type == 'text' || field.type == 'textarea') event = 'keyup'; else event = 'change'; return event; 
add: var field = el[0] || el, e = 'change'; if (field.type == 'radio' || field.type == 'checkbox') e = 'click'; else if (obs && field.type == 'text' || field.type == 'textarea') e = 'keyup'; return e; 
context:     fieldEvent: function(el, obs) {      var field = el[0] || el;      if (field.type == 'radio' || field.type == 'checkbox') event = 'click';      else if (obs && field.type == 'text' || field.type == 'textarea') event = 'keyup';      else event = 'change';      return event;    }
meta: 1128	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1128/60b184bc654298dc41df5463a174a7bed258d9b3/jrails.js/clean/javascripts/sources/jrails.js