rem: registerCallback: function(element) { if (element.type) { 
add: registerCallback: function(element, trigger) { if (trigger && element.type) { Event.observe(element, trigger, this.onElementEvent.bind(this)); } else if (element.type) { 
context:   registerCallback: function(element) {    if (element.type) {      switch (element.type.toLowerCase()) {        case 'checkbox':        case 'radio':          Event.observe(element, 'click', this.onElementEvent.bind(this));          break;        case 'password':        case 'text':        case 'textarea':        case 'select-one':        case 'select-multiple':          Event.observe(element, 'change', this.onElementEvent.bind(this));          break;      }    }  }
meta: 1675	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1675/e3bfd08cbcbffddf53de4f0f6030a794402cf532/prototype.js/buggy/railties/html/javascripts/prototype.js