/forgerock/openidm-v4/openidm-zip/src/main/resources/bin/defaults/script/workflow/ |
H A D | triggerWorkflowFromSync.js | 83 var queryParams = { 86 "var-mapping":recon.actionParam.mapping, 87 "var-situation":recon.actionParam.situation, 88 "var-action":recon.actionParam.action 94 queryParams["var-sourceId"] = recon.actionParam.sourceId; 97 queryParams["var-targetId"] = recon.actionParam.targetId;
|
/forgerock/openidm-v4/openidm-zip/src/main/resources/samples/usecase/script/ |
H A D | onStoreManagedUser.js | 4 var r = String(number); 30 var params = {
|
/forgerock/openam-v13/openam-scripting/src/main/js/ |
H A D | deviceIdMatch-server-side.js | 31 var ScalarComparator = {}, ScreenComparator = {}, MultiValueComparator = {}, UserAgentComparator = {}, GeolocationComparator = {}; 33 var config = { 99 var all, any, calculateDistance, calculateIntersection, calculatePercentage, nullOrUndefined, splitAndTrim, 113 var penaltyPoints = 0, 260 var comparisonResults = [ 299 var delimiter = ";", 416 var distance = calculateDistance(currentValue, storedValue); 456 var i; 473 var i; 519 var facto [all...] |
/forgerock/openam/openam-scripting/src/main/js/ |
H A D | deviceIdMatch-server-side.js | 31 var ScalarComparator = {}, ScreenComparator = {}, MultiValueComparator = {}, UserAgentComparator = {}, GeolocationComparator = {}; 33 var config = { 99 var all, any, calculateDistance, calculateIntersection, calculatePercentage, nullOrUndefined, splitAndTrim, 113 var penaltyPoints = 0, 260 var comparisonResults = [ 299 var delimiter = ";", 416 var distance = calculateDistance(currentValue, storedValue); 456 var i; 473 var i; 519 var facto [all...] |
/forgerock/openam-v13/openam-server-only/src/main/webapp/assets/lib/yui/datasource/ |
H A D | datasource-beta-debug.js | 39 for(var sConfig in oConfigs) { 79 var maxCacheEntries = this.maxCacheEntries; 498 var string = oData + ""; 521 var number = oData * 1; 549 var date = null; 604 var aCache = this._aCache; 605 var nCacheLength = (aCache) ? aCache.length : 0; 606 var oResponse = null; 613 for(var i = nCacheLength-1; i >= 0; i--) { 614 var oCacheEle [all...] |
H A D | datasource-beta-min.js | 8 YAHOO.util.DataSource=function(oLiveData,oConfigs){if(oConfigs&&(oConfigs.constructor==Object)){for(var sConfig in oConfigs){if(sConfig){this[sConfig]=oConfigs[sConfig];}}} 17 this.liveData=oLiveData;this._oQueue={interval:null,conn:null,requests:[]};var maxCacheEntries=this.maxCacheEntries;if(!YAHOO.lang.isNumber(maxCacheEntries)||(maxCacheEntries<0)){maxCacheEntries=0;} 20 var string=oData+"";if(YAHOO.lang.isString(string)){return string;} 21 else{return null;}};YAHOO.util.DataSource.parseNumber=function(oData){var number=oData*1;if(YAHOO.lang.isNumber(number)){return number;} 22 else{return null;}};YAHOO.util.DataSource.convertNumber=function(oData){return YAHOO.util.DataSource.parseNumber(oData);};YAHOO.util.DataSource.parseDate=function(oData){var date=null;if(!(oData instanceof Date)){date=new Date(oData);} 25 else{return null;}};YAHOO.util.DataSource.convertDate=function(oData){return YAHOO.util.DataSource.parseDate(oData);};YAHOO.util.DataSource.prototype.toString=function(){return this._sName;};YAHOO.util.DataSource.prototype.getCachedResponse=function(oRequest,oCallback,oCaller){var aCache=this._aCache;var nCacheLength=(aCache)?aCache.length:0;var oResponse=null;if((this.maxCacheEntries>0)&&aCache&&(nCacheLength>0)){this.fireEvent("cacheRequestEvent",{request:oRequest,callback:oCallback,caller:oCaller});for(var i=nCacheLength-1;i>=0;i--){var oCacheEle [all...] |
H A D | datasource-beta.js | 39 for(var sConfig in oConfigs) { 77 var maxCacheEntries = this.maxCacheEntries; 494 var string = oData + ""; 516 var number = oData * 1; 540 var date = null; 591 var aCache = this._aCache; 592 var nCacheLength = (aCache) ? aCache.length : 0; 593 var oResponse = null; 600 for(var i = nCacheLength-1; i >= 0; i--) { 601 var oCacheEle [all...] |
/forgerock/openam-v13/openam-authentication/deviceprint/scripts/src/main/resources/js/swfobject/swfobject/2.2/ |
H A D | swfobject-2.2-min.js | 4 var swfobject=function(){var D="undefined",r="object",S="Shockwave Flash",W="ShockwaveFlash.ShockwaveFlash",q="application/x-shockwave-flash",R="SWFObjectExprInst",x="onreadystatechange",O=window,j=document,t=navigator,T=false,U=[h],o=[],N=[],I=[],l,Q,E,B,J=false,a=false,n,G,m=true,M=function(){var aa=typeof j.getElementById!=D&&typeof j.getElementsByTagName!=D&&typeof j.createElement!=D,ah=t.userAgent.toLowerCase(),Y=t.platform.toLowerCase(),ae=Y?/win/.test(Y):/win/.test(ah),ac=Y?/mac/.test(Y):/mac/.test(ah),af=/webkit/.test(ah)?parseFloat(ah.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,X=!+"\v1",ag=[0,0,0],ab=null;if(typeof t.plugins!=D&&typeof t.plugins[S]==r){ab=t.plugins[S].description;if(ab&&!(typeof t.mimeTypes!=D&&t.mimeTypes[q]&&!t.mimeTypes[q].enabledPlugin)){T=true;X=false;ab=ab.replace(/^.*\s+(\S+\s+\S+$)/,"$1");ag[0]=parseInt(ab.replace(/^(.*)\..*$/,"$1"),10);ag[1]=parseInt(ab.replace(/^.*\.(.*)\s.*$/,"$1"),10);ag[2]=/[a-zA-Z]/.test(ab)?parseInt(ab.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof O.ActiveXObject!=D){try{var ad=new ActiveXObject(W);if(ad){ab=ad.GetVariable("$version");if(ab){X=true;ab=ab.split(" ")[1].split(",");ag=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}}catch(Z){}}}return{w3:aa,pv:ag,wk:af,ie:X,win:ae,mac:ac}}(),k=function(){if(!M.w3){return}if((typeof j.readyState!=D&&j.readyState=="complete")||(typeof j.readyState==D&&(j.getElementsByTagName("body")[0]||j.body))){f()}if(!J){if(typeof j.addEventListener!=D){j.addEventListener("DOMContentLoaded",f,false)}if(M.ie&&M.win){j.attachEvent(x,function(){if(j.readyState=="complete"){j.detachEvent(x,arguments.callee);f()}});if(O==top){(function(){if(J){return}try{j.documentElement.doScroll("left")}catch(X){setTimeout(arguments.callee,0);return}f()})()}}if(M.wk){(function(){if(J){return}if(!/loaded|complete/.test(j.readyState)){setTimeout(arguments.callee,0);return}f()})()}s(f)}}();function f(){if(J){return}try{var Z=j.getElementsByTagName("body")[0].appendChild(C("span"));Z.parentNode.removeChild(Z)}catch(aa){return}J=true;var X=U.length;for(var Y=0;Y<X;Y++){U[Y]()}}function K(X){if(J){X()}else{U[U.length]=X}}function s(Y){if(typeof O.addEventListener!=D){O.addEventListener("load",Y,false)}else{if(typeof j.addEventListener!=D){j.addEventListener("load",Y,false)}else{if(typeof O.attachEvent!=D){i(O,"onload",Y)}else{if(typeof O.onload=="function"){var X=O.onload;O.onload=function(){X();Y()}}else{O.onload=Y}}}}}function h(){if(T){V()}else{H()}}function V(){var X=j.getElementsByTagName("body")[0];var a [all...] |
/forgerock/openam/openam-server-only/src/main/webapp/assets/lib/yui/datasource/ |
H A D | datasource-beta-debug.js | 39 for(var sConfig in oConfigs) { 79 var maxCacheEntries = this.maxCacheEntries; 498 var string = oData + ""; 521 var number = oData * 1; 549 var date = null; 604 var aCache = this._aCache; 605 var nCacheLength = (aCache) ? aCache.length : 0; 606 var oResponse = null; 613 for(var i = nCacheLength-1; i >= 0; i--) { 614 var oCacheEle [all...] |
H A D | datasource-beta-min.js | 8 YAHOO.util.DataSource=function(oLiveData,oConfigs){if(oConfigs&&(oConfigs.constructor==Object)){for(var sConfig in oConfigs){if(sConfig){this[sConfig]=oConfigs[sConfig];}}} 17 this.liveData=oLiveData;this._oQueue={interval:null,conn:null,requests:[]};var maxCacheEntries=this.maxCacheEntries;if(!YAHOO.lang.isNumber(maxCacheEntries)||(maxCacheEntries<0)){maxCacheEntries=0;} 20 var string=oData+"";if(YAHOO.lang.isString(string)){return string;} 21 else{return null;}};YAHOO.util.DataSource.parseNumber=function(oData){var number=oData*1;if(YAHOO.lang.isNumber(number)){return number;} 22 else{return null;}};YAHOO.util.DataSource.convertNumber=function(oData){return YAHOO.util.DataSource.parseNumber(oData);};YAHOO.util.DataSource.parseDate=function(oData){var date=null;if(!(oData instanceof Date)){date=new Date(oData);} 25 else{return null;}};YAHOO.util.DataSource.convertDate=function(oData){return YAHOO.util.DataSource.parseDate(oData);};YAHOO.util.DataSource.prototype.toString=function(){return this._sName;};YAHOO.util.DataSource.prototype.getCachedResponse=function(oRequest,oCallback,oCaller){var aCache=this._aCache;var nCacheLength=(aCache)?aCache.length:0;var oResponse=null;if((this.maxCacheEntries>0)&&aCache&&(nCacheLength>0)){this.fireEvent("cacheRequestEvent",{request:oRequest,callback:oCallback,caller:oCaller});for(var i=nCacheLength-1;i>=0;i--){var oCacheEle [all...] |
H A D | datasource-beta.js | 39 for(var sConfig in oConfigs) { 77 var maxCacheEntries = this.maxCacheEntries; 494 var string = oData + ""; 516 var number = oData * 1; 540 var date = null; 591 var aCache = this._aCache; 592 var nCacheLength = (aCache) ? aCache.length : 0; 593 var oResponse = null; 600 for(var i = nCacheLength-1; i >= 0; i--) { 601 var oCacheEle [all...] |
/forgerock/openam-v13/openam-server-only/src/main/webapp/assets/lib/yui/animation/ |
H A D | animation-debug.js | 22 * <p>Usage: var myAnim = new YAHOO.util.Anim(el, { width: { from: 10, to: 100 } }, 1, YAHOO.util.Easing.easeOut);</p> 54 var el = this.getEl(); 55 var id = el.id || el.tagName || el; 100 var el = this.getEl(); 101 var val = YAHOO.util.Dom.getStyle(el, attr); 107 var a = this.patterns.offsetAttribute.exec(attr) || []; 108 var pos = !!( a[3] ); // top or left 109 var box = !!( a[2] ); // width or height 142 var start; 143 var en [all...] |
H A D | animation-min.js | 9 this.init(el,attributes,duration,method);};YAHOO.util.Anim.prototype={toString:function(){var el=this.getEl();var id=el.id||el.tagName||el;return("Anim "+id);},patterns:{noNegatives:/width|height|opacity|padding/i,offsetAttribute:/^((width|height)|(top|left))$/,defaultUnit:/width|height|top$|bottom$|left$|right$/i,offsetUnit:/\d+(em|%|en|ex|pt|in|cm|mm|pc)$/i},doMethod:function(attr,start,end){return this.method(this.currentFrame,start,end-start,this.totalFrames);},setAttribute:function(attr,val,unit){if(this.patterns.noNegatives.test(attr)){val=(val>0)?val:0;} 10 YAHOO.util.Dom.setStyle(this.getEl(),attr,val+unit);},getAttribute:function(attr){var el=this.getEl();var val=YAHOO.util.Dom.getStyle(el,attr);if(val!=='auto'&&!this.patterns.offsetUnit.test(val)){return parseFloat(val);} 11 var a=this.patterns.offsetAttribute.exec(attr)||[];var pos=!!(a[3]);var box=!!(a[2]);if(box||(YAHOO.util.Dom.getStyle(el,'position')=='absolute'&&pos)){val=el['offset'+a[0].charAt(0).toUpperCase()+a[0].substr(1)];}else{val=0;} 13 return'';},setRuntimeAttribute:function(attr){var start;var end;var attribute [all...] |
H A D | animation.js | 22 * <p>Usage: var myAnim = new YAHOO.util.Anim(el, { width: { from: 10, to: 100 } }, 1, YAHOO.util.Easing.easeOut);</p> 53 var el = this.getEl(); 54 var id = el.id || el.tagName || el; 99 var el = this.getEl(); 100 var val = YAHOO.util.Dom.getStyle(el, attr); 106 var a = this.patterns.offsetAttribute.exec(attr) || []; 107 var pos = !!( a[3] ); // top or left 108 var box = !!( a[2] ); // width or height 141 var start; 142 var en [all...] |
/forgerock/openam/openam-server-only/src/main/webapp/assets/lib/yui/animation/ |
H A D | animation-debug.js | 22 * <p>Usage: var myAnim = new YAHOO.util.Anim(el, { width: { from: 10, to: 100 } }, 1, YAHOO.util.Easing.easeOut);</p> 54 var el = this.getEl(); 55 var id = el.id || el.tagName || el; 100 var el = this.getEl(); 101 var val = YAHOO.util.Dom.getStyle(el, attr); 107 var a = this.patterns.offsetAttribute.exec(attr) || []; 108 var pos = !!( a[3] ); // top or left 109 var box = !!( a[2] ); // width or height 142 var start; 143 var en [all...] |
H A D | animation-min.js | 9 this.init(el,attributes,duration,method);};YAHOO.util.Anim.prototype={toString:function(){var el=this.getEl();var id=el.id||el.tagName||el;return("Anim "+id);},patterns:{noNegatives:/width|height|opacity|padding/i,offsetAttribute:/^((width|height)|(top|left))$/,defaultUnit:/width|height|top$|bottom$|left$|right$/i,offsetUnit:/\d+(em|%|en|ex|pt|in|cm|mm|pc)$/i},doMethod:function(attr,start,end){return this.method(this.currentFrame,start,end-start,this.totalFrames);},setAttribute:function(attr,val,unit){if(this.patterns.noNegatives.test(attr)){val=(val>0)?val:0;} 10 YAHOO.util.Dom.setStyle(this.getEl(),attr,val+unit);},getAttribute:function(attr){var el=this.getEl();var val=YAHOO.util.Dom.getStyle(el,attr);if(val!=='auto'&&!this.patterns.offsetUnit.test(val)){return parseFloat(val);} 11 var a=this.patterns.offsetAttribute.exec(attr)||[];var pos=!!(a[3]);var box=!!(a[2]);if(box||(YAHOO.util.Dom.getStyle(el,'position')=='absolute'&&pos)){val=el['offset'+a[0].charAt(0).toUpperCase()+a[0].substr(1)];}else{val=0;} 13 return'';},setRuntimeAttribute:function(attr){var start;var end;var attribute [all...] |
H A D | animation.js | 22 * <p>Usage: var myAnim = new YAHOO.util.Anim(el, { width: { from: 10, to: 100 } }, 1, YAHOO.util.Easing.easeOut);</p> 53 var el = this.getEl(); 54 var id = el.id || el.tagName || el; 99 var el = this.getEl(); 100 var val = YAHOO.util.Dom.getStyle(el, attr); 106 var a = this.patterns.offsetAttribute.exec(attr) || []; 107 var pos = !!( a[3] ); // top or left 108 var box = !!( a[2] ); // width or height 141 var start; 142 var en [all...] |
/forgerock/openam-v13/openam-server-only/src/main/webapp/assets/lib/yui/imageloader/ |
H A D | imageloader-experimental-debug.js | 117 var wrappedFetch = function() { 147 var self = this; 196 for (var i=0; i < this._triggers.length; i++) { 204 for (var id in this._imgObjs) { 218 var scrollTop = (document.compatMode != 'CSS1Compat') ? document.body.scrollTop : document.documentElement.scrollTop; 219 var viewHeight = YAHOO.util.Dom.getViewportHeight(); 220 var hLimit = scrollTop + viewHeight; 221 var scrollLeft = (document.compatMode != 'CSS1Compat') ? document.body.scrollLeft : document.documentElement.scrollLeft; 222 var viewWidth = YAHOO.util.Dom.getViewportWidth(); 223 var wLimi [all...] |
H A D | imageloader-experimental-min.js | 10 var wrappedFetch=function(){this.fetch();};this._triggers.push([trigEl,trigAct,wrappedFetch]);YAHOO.util.Event.addListener(trigEl,trigAct,wrappedFetch,this,true);};YAHOO.util.ImageLoader.group.prototype._onloadTasks=function(){if(this.timeoutLen&&typeof(this.timeoutLen)=='number'&&this.timeoutLen>0){this._timeout=setTimeout(this._getFetchTimeout(),this.timeoutLen*1000);} 11 if(this.foldConditional){this._foldCheck();}};YAHOO.util.ImageLoader.group.prototype._getFetchTimeout=function(){var self=this;return function(){self.fetch();};};YAHOO.util.ImageLoader.group.prototype.registerBgImage=function(domId,url){this._imgObjs[domId]=new YAHOO.util.ImageLoader.bgImgObj(domId,url);return this._imgObjs[domId];};YAHOO.util.ImageLoader.group.prototype.registerSrcImage=function(domId,url,width,height){this._imgObjs[domId]=new YAHOO.util.ImageLoader.srcImgObj(domId,url,width,height);return this._imgObjs[domId];};YAHOO.util.ImageLoader.group.prototype.registerPngBgImage=function(domId,url){this._imgObjs[domId]=new YAHOO.util.ImageLoader.pngBgImgObj(domId,url);return this._imgObjs[domId];};YAHOO.util.ImageLoader.group.prototype.fetch=function(){YAHOO.log('Fetching images in group: "'+this.name+'".','info','imageloader');clearTimeout(this._timeout);for(var i=0;i<this._triggers.length;i++){YAHOO.util.Event.removeListener(this._triggers[i][0],this._triggers[i][1],this._triggers[i][2]);} 12 this._fetchByClass();for(var id in this._imgObjs){if(YAHOO.lang.hasOwnProperty(this._imgObjs,id)){this._imgObjs[id].fetch();}}};YAHOO.util.ImageLoader.group.prototype._foldCheck=function(){YAHOO.log('Checking for images above the fold in group: "'+this.name+'"','info','imageloader');var scrollTop=(document.compatMode!='CSS1Compat')?document.body.scrollTop:document.documentElement.scrollTop;var viewHeight=YAHOO.util.Dom.getViewportHeight();var hLimit=scrollTop+viewHeight;var scrollLeft=(document.compatMode!='CSS1Compat')?document.body.scrollLeft:document.documentElement.scrollLeft;var viewWidth=YAHOO.util.Dom.getViewportWidth();var wLimi [all...] |
H A D | imageloader-experimental.js | 117 var wrappedFetch = function() { 147 var self = this; 196 for (var i=0; i < this._triggers.length; i++) { 204 for (var id in this._imgObjs) { 218 var scrollTop = (document.compatMode != 'CSS1Compat') ? document.body.scrollTop : document.documentElement.scrollTop; 219 var viewHeight = YAHOO.util.Dom.getViewportHeight(); 220 var hLimit = scrollTop + viewHeight; 221 var scrollLeft = (document.compatMode != 'CSS1Compat') ? document.body.scrollLeft : document.documentElement.scrollLeft; 222 var viewWidth = YAHOO.util.Dom.getViewportWidth(); 223 var wLimi [all...] |
/forgerock/openam/openam-server-only/src/main/webapp/assets/lib/yui/imageloader/ |
H A D | imageloader-experimental-debug.js | 117 var wrappedFetch = function() { 147 var self = this; 196 for (var i=0; i < this._triggers.length; i++) { 204 for (var id in this._imgObjs) { 218 var scrollTop = (document.compatMode != 'CSS1Compat') ? document.body.scrollTop : document.documentElement.scrollTop; 219 var viewHeight = YAHOO.util.Dom.getViewportHeight(); 220 var hLimit = scrollTop + viewHeight; 221 var scrollLeft = (document.compatMode != 'CSS1Compat') ? document.body.scrollLeft : document.documentElement.scrollLeft; 222 var viewWidth = YAHOO.util.Dom.getViewportWidth(); 223 var wLimi [all...] |
H A D | imageloader-experimental-min.js | 10 var wrappedFetch=function(){this.fetch();};this._triggers.push([trigEl,trigAct,wrappedFetch]);YAHOO.util.Event.addListener(trigEl,trigAct,wrappedFetch,this,true);};YAHOO.util.ImageLoader.group.prototype._onloadTasks=function(){if(this.timeoutLen&&typeof(this.timeoutLen)=='number'&&this.timeoutLen>0){this._timeout=setTimeout(this._getFetchTimeout(),this.timeoutLen*1000);} 11 if(this.foldConditional){this._foldCheck();}};YAHOO.util.ImageLoader.group.prototype._getFetchTimeout=function(){var self=this;return function(){self.fetch();};};YAHOO.util.ImageLoader.group.prototype.registerBgImage=function(domId,url){this._imgObjs[domId]=new YAHOO.util.ImageLoader.bgImgObj(domId,url);return this._imgObjs[domId];};YAHOO.util.ImageLoader.group.prototype.registerSrcImage=function(domId,url,width,height){this._imgObjs[domId]=new YAHOO.util.ImageLoader.srcImgObj(domId,url,width,height);return this._imgObjs[domId];};YAHOO.util.ImageLoader.group.prototype.registerPngBgImage=function(domId,url){this._imgObjs[domId]=new YAHOO.util.ImageLoader.pngBgImgObj(domId,url);return this._imgObjs[domId];};YAHOO.util.ImageLoader.group.prototype.fetch=function(){YAHOO.log('Fetching images in group: "'+this.name+'".','info','imageloader');clearTimeout(this._timeout);for(var i=0;i<this._triggers.length;i++){YAHOO.util.Event.removeListener(this._triggers[i][0],this._triggers[i][1],this._triggers[i][2]);} 12 this._fetchByClass();for(var id in this._imgObjs){if(YAHOO.lang.hasOwnProperty(this._imgObjs,id)){this._imgObjs[id].fetch();}}};YAHOO.util.ImageLoader.group.prototype._foldCheck=function(){YAHOO.log('Checking for images above the fold in group: "'+this.name+'"','info','imageloader');var scrollTop=(document.compatMode!='CSS1Compat')?document.body.scrollTop:document.documentElement.scrollTop;var viewHeight=YAHOO.util.Dom.getViewportHeight();var hLimit=scrollTop+viewHeight;var scrollLeft=(document.compatMode!='CSS1Compat')?document.body.scrollLeft:document.documentElement.scrollLeft;var viewWidth=YAHOO.util.Dom.getViewportWidth();var wLimi [all...] |
H A D | imageloader-experimental.js | 117 var wrappedFetch = function() { 147 var self = this; 196 for (var i=0; i < this._triggers.length; i++) { 204 for (var id in this._imgObjs) { 218 var scrollTop = (document.compatMode != 'CSS1Compat') ? document.body.scrollTop : document.documentElement.scrollTop; 219 var viewHeight = YAHOO.util.Dom.getViewportHeight(); 220 var hLimit = scrollTop + viewHeight; 221 var scrollLeft = (document.compatMode != 'CSS1Compat') ? document.body.scrollLeft : document.documentElement.scrollLeft; 222 var viewWidth = YAHOO.util.Dom.getViewportWidth(); 223 var wLimi [all...] |
/forgerock/openam-v13/openam-server-only/src/main/webapp/assets/lib/yui/autocomplete/ |
H A D | autocomplete-debug.js | 85 var elParent = this._oContainer.parentNode; 86 var elTag = elParent.tagName.toLowerCase(); 108 for(var sConfig in oConfigs) { 122 var oSelf = this; 123 var oTextbox = this._oTextbox; 125 var oContent = this._oContainer._oContent; 484 var sResult = oResultItem[0]; 538 var instanceName = this.toString(); 539 var elInput = this._oTextbox; 540 var elContaine [all...] |
H A D | autocomplete-min.js | 17 var elParent=this._oContainer.parentNode;var elTag=elParent.tagName.toLowerCase();while(elParent&&(elParent!="document")){if(elTag=="div"){YAHOO.util.Dom.addClass(elParent,"yui-ac");break;} 21 if(oConfigs&&(oConfigs.constructor==Object)){for(var sConfig in oConfigs){if(sConfig){this[sConfig]=oConfigs[sConfig];}}} 22 this._initContainer();this._initProps();this._initList();this._initContainerHelpers();var oSelf=this;var oTextbox=this._oTextbox;var oContent=this._oContainer._oContent;YAHOO.util.Event.addListener(oTextbox,"keyup",oSelf._onTextboxKeyUp,oSelf);YAHOO.util.Event.addListener(oTextbox,"keydown",oSelf._onTextboxKeyDown,oSelf);YAHOO.util.Event.addListener(oTextbox,"focus",oSelf._onTextboxFocus,oSelf);YAHOO.util.Event.addListener(oTextbox,"blur",oSelf._onTextboxBlur,oSelf);YAHOO.util.Event.addListener(oContent,"mouseover",oSelf._onContainerMouseover,oSelf);YAHOO.util.Event.addListener(oContent,"mouseout",oSelf._onContainerMouseout,oSelf);YAHOO.util.Event.addListener(oContent,"scroll",oSelf._onContainerScroll,oSelf);YAHOO.util.Event.addListener(oContent,"resize",oSelf._onContainerResize,oSelf);if(oTextbox.form){YAHOO.util.Event.addListener(oTextbox.form,"submit",oSelf._onFormSubmit,oSelf);} 29 this._maxResultsDisplayed=0;};YAHOO.widget.AutoComplete.prototype.formatResult=function(oResultItem,sQuery){var sResult=oResultItem[0];if(sResult){return sResult;} 30 else{return"";}};YAHOO.widget.AutoComplete.prototype.doBeforeExpandContainer=function(oTextbox,oContainer,sQuery,aResults){return true;};YAHOO.widget.AutoComplete.prototype.sendQuery=function(sQuery){this._sendQuery(sQuery);};YAHOO.widget.AutoComplete.prototype.doBeforeSendQuery=function(sQuery){return sQuery;};YAHOO.widget.AutoComplete.prototype.destroy=function(){var instanceName=this.toString();var elInput=this._oTextbox;var elContaine [all...] |