From: <sea...@mi...> - 2009-01-19 19:08:24
|
Update of /cvsroot/jaffa/JaffaRIA/source/html/js/extjs/jaffa/finder In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv24792 Modified Files: FinderStore.js Log Message: use charAt(), which is IE friendly, to access the chars in a string. Index: FinderStore.js =================================================================== RCS file: /cvsroot/jaffa/JaffaRIA/source/html/js/extjs/jaffa/finder/FinderStore.js,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** FinderStore.js 9 Jan 2009 23:08:22 -0000 1.17 --- FinderStore.js 19 Jan 2009 19:08:19 -0000 1.18 *************** *** 191,199 **** }]; } ! if (this.groupField && this.remoteGroup) { if (this.sortInfo && this.remoteSort && this.sortInfo.field==this.groupField) { this.groupDirection = this.sortInfo.direction=='ASC'; } else { ! var tmp = {fieldName : this.groupField[0].toUpperCase()+this.groupField.substring(1)}; if (this.groupDirection != null) { tmp.sortAscending = Boolean(this.groupDirection); --- 191,199 ---- }]; } ! if (this.groupField && this.groupField!='' && this.remoteGroup) { if (this.sortInfo && this.remoteSort && this.sortInfo.field==this.groupField) { this.groupDirection = this.sortInfo.direction=='ASC'; } else { ! var tmp = {fieldName : this.groupField.charAt(0).toUpperCase()+this.groupField.substring(1)}; if (this.groupDirection != null) { tmp.sortAscending = Boolean(this.groupDirection); |