Author: A.Skokov
Date: 2007-03-06 10:34:16 -0500 (Tue, 06 Mar 2007)
New Revision: 23
Modified:
trunk/richfaces/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js
Log:
http://jira.exadel.com/browse/RFA-293 fixed
Modified:
trunk/richfaces/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js
===================================================================
---
trunk/richfaces/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js 2007-03-06
15:22:32 UTC (rev 22)
+++
trunk/richfaces/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js 2007-03-06
15:34:16 UTC (rev 23)
@@ -263,13 +263,13 @@
},
markPrevious: function() {
- if (this.index > 0) this.index--
- else this.index = this.entryCount - 1;
+ if (this.index > 0) this.index--;
+ //else this.index = this.entryCount - 1;
},
markNext: function() {
- if (this.index < this.entryCount - 1) this.index++
- else this.index = 0;
+ if (this.index < this.entryCount - 1) this.index++;
+ //else this.index = 0;
},
getEntry: function(index) {