this.disconnect = function(){      if(arguments.length == 1){ var ao = arguments[0]; }else{ var ao = interpolateArgs(arguments, true); } if(!ao.adviceFunc){ return; } if(dojo.lang.isString(ao.srcFunc) && (ao.srcFunc.toLowerCase() == "onkey") ){ if(dojo.render.html.ie){ ao.srcFunc = "onkeydown"; this.disconnect(ao); } ao.srcFunc = "onkeypress"; } var mjp = dojo.event.MethodJoinPoint.getForMethod(ao.srcObj, ao.srcFunc); return mjp.removeAdvice(ao.adviceObj, ao.adviceFunc, ao.adviceType, ao.once); } 
this.disconnect=function(){ if(arguments.length==1){ var ao=arguments[0]; }else{ var ao=interpolateArgs(arguments,true); } if(!ao.adviceFunc){ return; } if(dojo.lang.isString(ao.srcFunc)&&(ao.srcFunc.toLowerCase()=="onkey")){ if(dojo.render.html.ie){ ao.srcFunc="onkeydown"; this.disconnect(ao); } ao.srcFunc="onkeypress"; } var mjp=dojo.event.MethodJoinPoint.getForMethod(ao.srcObj,ao.srcFunc); return mjp.removeAdvice(ao.adviceObj,ao.adviceFunc,ao.adviceType,ao.once); }; 
  this.disconnect = function(){    // summary:    //    Takes the same parameters as dojo.event.connect() but destroys    //    an existing connection instead of building a new one. For    //    multiple identical connections, multiple disconnect() calls    //    will unroll one each time it's called.    if(arguments.length == 1){      var ao = arguments[0];    }else{      var ao = interpolateArgs(arguments, true);    }    if(!ao.adviceFunc){ return; } // nothing to disconnect    if(dojo.lang.isString(ao.srcFunc) && (ao.srcFunc.toLowerCase() == "onkey") ){      if(dojo.render.html.ie){        ao.srcFunc = "onkeydown";        this.disconnect(ao);      }      ao.srcFunc = "onkeypress";    }    var mjp = dojo.event.MethodJoinPoint.getForMethod(ao.srcObj, ao.srcFunc);    return mjp.removeAdvice(ao.adviceObj, ao.adviceFunc, ao.adviceType, ao.once); // a MethodJoinPoint object  }
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/90939f35f46f873d9b1f5c5f818ecf012711dc71/dojo.js/buggy/src/main/resources/org/apache/struts2/static/dojo/dojo.js