From a8b8e09d7b39b3e8b5817c6c6be891f49098c372 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 31 Aug 2010 18:49:06 +0800 Subject: [PATCH] roojs-all.js --- roojs-all.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roojs-all.js b/roojs-all.js index 2fee0a27f2..3630585432 100644 --- a/roojs-all.js +++ b/roojs-all.js @@ -314,7 +314,7 @@ this.data.clear();this.data.addAll(r);this.totalLength=t;this.applySort();this.f this.fireEvent("load",this,r,A);if(A.callback){A.callback.call(A.scope||this,r,A,true);}},loadData:function(o,A){var r=this.reader.readRecords(o);this.loadRecords(r,{add:A},true);},getCount:function(){return this.data.length||0;},getTotalCount:function(){return this.totalLength||0;},getSortState:function(){return this.sortInfo;},applySort:function(){if(this.sortInfo&&!this.remoteSort){var s=this.sortInfo,f=s.field;var st=this.fields.get(f).sortType;var fn=function(r1,r2){var v1=st(r1.data[f]),v2=st(r2.data[f]);return v1>v2?1:(v1