rem: case 1: 
add: } this.inFlightTimer=setTimeout("dojo.io.XMLHTTPTransport.watchInFlight();",10); }; var _2bd=dojo.hostenv.getXmlhttpObject()?true:false; this.canHandle=function(_2be){ return _2bd&&dojo.lang.inArray(["text/plain","text/html","application/xml","text/xml","text/javascript","text/json","application/json"],(_2be["mimetype"].toLowerCase()||""))&&!(_2be["formNode"]&&dojo.io.formHasFile(_2be["formNode"])); }; this.multipartBoundary="45309FFF-BD65-4d50-99C9-36986896A96F"; this.bind=function(_2bf){ if(!_2bf["url"]){ if(!_2bf["formNode"]&&(_2bf["backButton"]||_2bf["back"]||_2bf["changeUrl"]||_2bf["watchForURL"])&&(!djConfig.preventBackButtonFix)){ dojo.deprecated("Using dojo.io.XMLHTTPTransport.bind() to add to browser history without doing an IO request","Use dojo.undo.browser.addToHistory() instead.","0.4"); dojo.undo.browser.addToHistory(_2bf); return true; } } var url=_2bf.url; var _2c1=""; if(_2bf["formNode"]){ var ta=_2bf.formNode.getAttribute("action"); if((ta)&&(!_2bf["url"])){ url=ta; } var tp=_2bf.formNode.getAttribute("method"); if((tp)&&(!_2bf["method"])){ _2bf.method=tp; } _2c1+=dojo.io.encodeForm(_2bf.formNode,_2bf.encoding,_2bf["formFilter"]); } if(url.indexOf("#")>-1){ dojo.debug("Warning: dojo.io.bind: stripping hash values from url:",url); url=url.split("#")[0]; } if(_2bf["file"]){ _2bf.method="post"; } if(!_2bf["method"]){ _2bf.method="get"; } if(_2bf.method.toLowerCase()=="get"){ _2bf.multipart=false; }else{ if(_2bf["file"]){ _2bf.multipart=true; }else{ if(!_2bf["multipart"]){ _2bf.multipart=false; } } } if(_2bf["backButton"]||_2bf["back"]||_2bf["changeUrl"]){ dojo.undo.browser.addToHistory(_2bf); } var _2c4=_2bf["content"]||{}; if(_2bf.sendTransport){ _2c4["dojo.transport"]="xmlhttp"; } do{ if(_2bf.postContent){ _2c1=_2bf.postContent; break; } if(_2c4){ _2c1+=dojo.io.argsFromMap(_2c4,_2bf.encoding); } if(_2bf.method.toLowerCase()=="get"||!_2bf.multipart){ break; } var t=[]; if(_2c1.length){ var q=_2c1.split("&"); for(var i=0;i<q.length;++i){ if(q[i].length){ var p=q[i].split("="); t.push("--"+this.multipartBoundary,"Content-Disposition: form-data; name=\""+p[0]+"\"","",p[1]); } } } if(_2bf.file){ if(dojo.lang.isArray(_2bf.file)){ for(var i=0;i<_2bf.file.length;++i){ var o=_2bf.file[i]; t.push("--"+this.multipartBoundary,"Content-Disposition: form-data; name=\""+o.name+"\"; filename=\""+("fileName" in o?o.fileName:o.name)+"\"","Content-Type: "+("contentType" in o?o.contentType:"application/octet-stream"),"",o.content); } }else{ var o=_2bf.file; t.push("--"+this.multipartBoundary,"Content-Disposition: form-data; name=\""+o.name+"\"; filename=\""+("fileName" in o?o.fileName:o.name)+"\"","Content-Type: "+("contentType" in o?o.contentType:"application/octet-stream"),"",o.content); } } if(t.length){ t.push("--"+this.multipartBoundary+"--",""); _2c1=t.join("\r\n"); } }while(false); var _2ca=_2bf["sync"]?false:true; var _2cb=_2bf["preventCache"]||(this.preventCache==true&&_2bf["preventCache"]!=false); var _2cc=_2bf["useCache"]==true||(this.useCache==true&&_2bf["useCache"]!=false); if(!_2cb&&_2cc){ var _2cd=getFromCache(url,_2c1,_2bf.method); if(_2cd){ doLoad(_2bf,_2cd,url,_2c1,false); 
context: dojo.event=new function(){this._canTimeout=dojo.lang.isFunction(dj_global["setTimeout"])||dojo.lang.isAlien(dj_global["setTimeout"]);function interpolateArgs(args,_2e7){var dl=dojo.lang;var ao={srcObj:dj_global,srcFunc:null,adviceObj:dj_global,adviceFunc:null,aroundObj:null,aroundFunc:null,adviceType:(args.length>2)?args[0]:"after",precedence:"last",once:false,delay:null,rate:0,adviceMsg:false};switch(args.length){case 0:return;case 1:return;case 2:ao.srcFunc=args[0];ao.adviceFunc=args[1];break;case 3:if((dl.isObject(args[0]))&&(dl.isString(args[1]))&&(dl.isString(args[2]))){ao.adviceType="after";ao.srcObj=args[0];ao.srcFunc=args[1];ao.adviceFunc=args[2];}else{if((dl.isString(args[1]))&&(dl.isString(args[2]))){ao.srcFunc=args[1];ao.adviceFunc=args[2];}else{if((dl.isObject(args[0]))&&(dl.isString(args[1]))&&(dl.isFunction(args[2]))){ao.adviceType="after";ao.srcObj=args[0];ao.srcFunc=args[1];var _2ea=dl.nameAnonFunc(args[2],ao.adviceObj,_2e7);ao.adviceFunc=_2ea;}else{if((dl.isFunction(args[0]))&&(dl.isObject(args[1]))&&(dl.isString(args[2]))){ao.adviceType="after";ao.srcObj=dj_global;var _2ea=dl.nameAnonFunc(args[0],ao.srcObj,_2e7);ao.srcFunc=_2ea;ao.adviceObj=args[1];ao.adviceFunc=args[2];}}}}break;case 4:if((dl.isObject(args[0]))&&(dl.isObject(args[2]))){ao.adviceType="after";ao.srcObj=args[0];ao.srcFunc=args[1];ao.adviceObj=args[2];ao.adviceFunc=args[3];}else{if((dl.isString(args[0]))&&(dl.isString(args[1]))&&(dl.isObject(args[2]))){ao.adviceType=args[0];ao.srcObj=dj_global;ao.srcFunc=args[1];ao.adviceObj=args[2];ao.adviceFunc=args[3];}else{if((dl.isString(args[0]))&&(dl.isFunction(args[1]))&&(dl.isObject(args[2]))){ao.adviceType=args[0];ao.srcObj=dj_global;var _2ea=dl.nameAnonFunc(args[1],dj_global,_2e7);ao.srcFunc=_2ea;ao.adviceObj=args[2];ao.adviceFunc=args[3];}else{if((dl.isString(args[0]))&&(dl.isObject(args[1]))&&(dl.isString(args[2]))&&(dl.isFunction(args[3]))){ao.srcObj=args[1];ao.srcFunc=args[2];var _2ea=dl.nameAnonFunc(args[3],dj_global,_2e7);ao.adviceObj=dj_global;ao.adviceFunc=_2ea;}else{if(dl.isObject(args[1])){ao.srcObj=args[1];ao.srcFunc=args[2];ao.adviceObj=dj_global;ao.adviceFunc=args[3];}else{if(dl.isObject(args[2])){ao.srcObj=dj_global;ao.srcFunc=args[1];ao.adviceObj=args[2];ao.adviceFunc=args[3];}else{ao.srcObj=ao.adviceObj=ao.aroundObj=dj_global;ao.srcFunc=args[1];ao.adviceFunc=args[2];ao.aroundFunc=args[3];}}}}}}break;case 6:ao.srcObj=args[1];ao.srcFunc=args[2];ao.adviceObj=args[3];ao.adviceFunc=args[4];ao.aroundFunc=args[5];ao.aroundObj=dj_global;break;default:ao.srcObj=args[1];ao.srcFunc=args[2];ao.adviceObj=args[3];ao.adviceFunc=args[4];ao.aroundObj=args[5];ao.aroundFunc=args[6];ao.once=args[7];ao.delay=args[8];ao.rate=args[9];ao.adviceMsg=args[10];break;}if(dl.isFunction(ao.aroundFunc)){var _2ea=dl.nameAnonFunc(ao.aroundFunc,ao.aroundObj,_2e7);ao.aroundFunc=_2ea;}if(dl.isFunction(ao.srcFunc)){ao.srcFunc=dl.getNameInObj(ao.srcObj,ao.srcFunc);}if(dl.isFunction(ao.adviceFunc)){ao.adviceFunc=dl.getNameInObj(ao.adviceObj,ao.adviceFunc);}if((ao.aroundObj)&&(dl.isFunction(ao.aroundFunc))){ao.aroundFunc=dl.getNameInObj(ao.aroundObj,ao.aroundFunc);}if(!ao.srcObj){dojo.raise("bad srcObj for srcFunc: "+ao.srcFunc);}if(!ao.adviceObj){dojo.raise("bad adviceObj for adviceFunc: "+ao.adviceFunc);}if(!ao.adviceFunc){dojo.debug("bad adviceFunc for srcFunc: "+ao.srcFunc);dojo.debugShallow(ao);}return ao;}this.connect=function(){if(arguments.length==1){var ao=arguments[0];}else{var ao=interpolateArgs(arguments,true);}if(dojo.lang.isString(ao.srcFunc)&&(ao.srcFunc.toLowerCase()=="onkey")){if(dojo.render.html.ie){ao.srcFunc="onkeydown";this.connect(ao);}ao.srcFunc="onkeypress";}if(dojo.lang.isArray(ao.srcObj)&&ao.srcObj!=""){var _2ec={};for(var x in ao){_2ec[x]=ao[x];}var mjps=[];dojo.lang.forEach(ao.srcObj,function(src){if((dojo.render.html.capable)&&(dojo.lang.isString(src))){src=dojo.byId(src);}_2ec.srcObj=src;mjps.push(dojo.event.connect.call(dojo.event,_2ec));});return mjps;}var mjp=dojo.event.MethodJoinPoint.getForMethod(ao.srcObj,ao.srcFunc);if(ao.adviceFunc){var mjp2=dojo.event.MethodJoinPoint.getForMethod(ao.adviceObj,ao.adviceFunc);}mjp.kwAddAdvice(ao);return mjp;};this.log=function(a1,a2){var _2f4;if((arguments.length==1)&&(typeof a1=="object")){_2f4=a1;}else{_2f4={srcObj:a1,srcFunc:a2};}_2f4.adviceFunc=function(){var _2f5=[];for(var x=0;x<arguments.length;x++){_2f5.push(arguments[x]);}dojo.debug("("+_2f4.srcObj+")."+_2f4.srcFunc,":",_2f5.join(", "));};this.kwConnect(_2f4);};this.connectBefore=function(){var args=["before"];for(var i=0;i<arguments.length;i++){args.push(arguments[i]);}return this.connect.apply(this,args);};this.connectAround=function(){var args=["around"];for(var i=0;i<arguments.length;i++){args.push(arguments[i]);}return this.connect.apply(this,args);};this.connectOnce=function(){var ao=interpolateArgs(arguments,true);ao.once=true;return this.connect(ao);};this._kwConnectImpl=function(_2fc,_2fd){var fn=(_2fd)?"disconnect":"connect";if(typeof _2fc["srcFunc"]=="function"){_2fc.srcObj=_2fc["srcObj"]||dj_global;var _2ff=dojo.lang.nameAnonFunc(_2fc.srcFunc,_2fc.srcObj,true);_2fc.srcFunc=_2ff;}if(typeof _2fc["adviceFunc"]=="function"){_2fc.adviceObj=_2fc["adviceObj"]||dj_global;var _2ff=dojo.lang.nameAnonFunc(_2fc.adviceFunc,_2fc.adviceObj,true);_2fc.adviceFunc=_2ff;}_2fc.srcObj=_2fc["srcObj"]||dj_global;_2fc.adviceObj=_2fc["adviceObj"]||_2fc["targetObj"]||dj_global;_2fc.adviceFunc=_2fc["adviceFunc"]||_2fc["targetFunc"];return dojo.event[fn](_2fc);};this.kwConnect=function(_300){return this._kwConnectImpl(_300,false);};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.kwDisconnect=function(_303){return this._kwConnectImpl(_303,true);};};
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/dojo.js/buggy/www/resources/dojo-ajax/dojo.js