diff --git a/thirdparty/behaviour/behaviour.js b/thirdparty/behaviour/behaviour.js index 5c587cebe..647e88348 100644 --- a/thirdparty/behaviour/behaviour.js +++ b/thirdparty/behaviour/behaviour.js @@ -584,6 +584,7 @@ Observable.prototype = { throw("Observeable.stopObserving: couldn't find '" + observerCode + "'"); }, notify : function(event, arg) { + if(typeof(jQuery) != 'undefined' && typeof(jQuery.livequery) != 'undefined') jQuery(this).trigger(event, arg); var i, returnVal = true; if(this.observers && this.observers[event]) { for(i=0;i