rem: var id = child.getAttribute("freja:behaviour"); 
add: var id = child.getAttribute("freja-behaviour"); 
context: Freja.View.prototype._connectBehaviour = function(destination) {	try {		var connectCallback = function(node, eventType, callback) {			Freja._aux.connect(node, eventType, Freja._aux.bind(				function(e) {					var allow = false;					try {						allow = callback(this);					} catch (ex) {						throw new Error("An error ocurred in user handler.\n" + ex.message);					} finally {						if (!allow) {							e.stop();						}					}				}, node)			);		};		var applyHandlers = function(node, handlers) {			for (var i = 0, c = node.childNodes, l = c.length; i < l; ++i) {				var child = c[i];				if (child.nodeType == 1) {					var id = child.getAttribute("freja:behaviour");					if (id != "") {						var handler = handlers[id];						if (handler) {							for (var eventType in handler) {								if (eventType == "init") {									handler.init(child);								} else {									connectCallback(child, eventType, handler[eventType]);								}							}						}					}					applyHandlers(child, handlers);				}			}		};		// Avoid traversing the DOM tree if there's no handler to process.		// @note: is there a better way? this.handlers.length is always 0.		for (var ids in this.handlers) {			applyHandlers(destination, this.handlers);			break;		}	} catch (ex) {		alert(ex.message);	}};
meta: 8607	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8607/cff1521cc6534ad921bf4506f9acfe65865051ba/Freja.js/buggy/trunk/lib/Freja.js