Author: amarkhel
Date: 2009-07-15 09:53:42 -0400 (Wed, 15 Jul 2009)
New Revision: 14928
Modified:
branches/community/3.3.X/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js
Log:
Fix RF-7250
Modified:
branches/community/3.3.X/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js
===================================================================
---
branches/community/3.3.X/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js 2009-07-15
13:36:13 UTC (rev 14927)
+++
branches/community/3.3.X/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js 2009-07-15
13:53:42 UTC (rev 14928)
@@ -437,9 +437,13 @@
} catch(e) {
LOG.warn("Exception on clone event");
}
- this.observerHandle =
- window.setTimeout(this.onObserverEvent.bind(this, domEvt),
this.options.frequency
+ if ((event.rich && event.rich.ignoreFrequency)) {
+ this.onObserverEvent(domEvt);
+ }else{
+ this.observerHandle =
+ window.setTimeout(this.onObserverEvent.bind(this, domEvt),
this.options.frequency
* 1000);
+ }
},
_findTr: function(event) {
@@ -819,7 +823,7 @@
domEvt.shiftKey = false;
domEvt.which = 40;
//this hash is used in keydown handler - modify with care
- domEvt.rich = {"isCallSuggestion":true, "ignoreMinChars":
ignoreMinChars};
+ domEvt.rich = {"isCallSuggestion":true, "ignoreMinChars":
ignoreMinChars, "ignoreFrequency" : true};
this.onKeyDownListener(domEvt);
},
Show replies by date