Skip to content

Commit

Permalink
hotfixing issue Knockout-Contrib#174
Browse files Browse the repository at this point in the history
  • Loading branch information
orneryd committed Dec 19, 2012
1 parent bb8a1ba commit 5fcb4c5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions build/KoGrid.debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* koGrid JavaScript Library
* Authors: https://github.com/ericmbarnard/koGrid/blob/master/README.md
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
* Compiled At: 12/18/2012 15:37:41
* Compiled At: 12/19/2012 10:15:47
***********************************************/

(function (window) {
Expand Down Expand Up @@ -1400,9 +1400,9 @@ window.kg.Grid = function (options) {
});
self.clearSortingData(col);
if(!self.config.useExternalSorting){
window.kg.sortService.Sort(sortInfo, self.sortedData);
window.kg.sortService.Sort(self.sortInfo.peek(), self.sortedData);
} else {
self.config.sortInfo(sortInfo);
self.config.sortInfo(self.sortInfo.peek());
}
self.lastSortedColumn = col;
self.isSorting = false;
Expand Down
6 changes: 3 additions & 3 deletions koGrid-2.1.1.debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* koGrid JavaScript Library
* Authors: https://github.com/ericmbarnard/koGrid/blob/master/README.md
* License: MIT (http://www.opensource.org/licenses/mit-license.php)
* Compiled At: 12/18/2012 15:37:41
* Compiled At: 12/19/2012 10:15:47
***********************************************/

(function (window) {
Expand Down Expand Up @@ -1400,9 +1400,9 @@ window.kg.Grid = function (options) {
});
self.clearSortingData(col);
if(!self.config.useExternalSorting){
window.kg.sortService.Sort(sortInfo, self.sortedData);
window.kg.sortService.Sort(self.sortInfo.peek(), self.sortedData);
} else {
self.config.sortInfo(sortInfo);
self.config.sortInfo(self.sortInfo.peek());
}
self.lastSortedColumn = col;
self.isSorting = false;
Expand Down
4 changes: 2 additions & 2 deletions koGrid-2.1.1.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/classes/grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,9 @@ window.kg.Grid = function (options) {
});
self.clearSortingData(col);
if(!self.config.useExternalSorting){
window.kg.sortService.Sort(sortInfo, self.sortedData);
window.kg.sortService.Sort(self.sortInfo.peek(), self.sortedData);
} else {
self.config.sortInfo(sortInfo);
self.config.sortInfo(self.sortInfo.peek());
}
self.lastSortedColumn = col;
self.isSorting = false;
Expand Down

0 comments on commit 5fcb4c5

Please sign in to comment.