From 5a80102a68fc454308a9244f42d5185d0aa4283c Mon Sep 17 00:00:00 2001 From: "varga%netscape.com" Date: Thu, 27 Jul 2006 14:55:56 +0000 Subject: [PATCH] Fix for bug 134824. Column Sorting in the Download Manager has no effect. r=neil, sr=jag, a=asa --- suite/common/directory/directory.js | 2 +- suite/common/search/search-editor.js | 4 ++-- suite/common/search/shared.js | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/suite/common/directory/directory.js b/suite/common/directory/directory.js index fd118101e77..71ecf48233b 100644 --- a/suite/common/directory/directory.js +++ b/suite/common/directory/directory.js @@ -233,7 +233,7 @@ function doSort(aTarget) try { var sortService = Components.classes[XULSORTSERVICE_CONTRACTID].getService(nsIXULSortService); - sortService.Sort(aTarget, sortResource, sortDirection); + sortService.sort(aTarget, sortResource, sortDirection); } catch(ex) { } } diff --git a/suite/common/search/search-editor.js b/suite/common/search/search-editor.js index eede01d9726..77e2ce432c7 100644 --- a/suite/common/search/search-editor.js +++ b/suite/common/search/search-editor.js @@ -240,11 +240,11 @@ function doSort(sortColName, naturalOrderResource) if (!xulSortService) return(false); try { - xulSortService.Sort(node, sortResource, sortDirection); + xulSortService.sort(node, sortResource, sortDirection); } catch(ex) { - debug("Exception calling xulSortService.Sort()"); + debug("Exception calling xulSortService.sort()"); } return(true); } diff --git a/suite/common/search/shared.js b/suite/common/search/shared.js index e14f7dd1ccf..095959a6aab 100644 --- a/suite/common/search/shared.js +++ b/suite/common/search/shared.js @@ -337,11 +337,11 @@ function doSort(sortColName, naturalOrderResource) if (!xulSortService) return(false); try { - xulSortService.Sort(node, sortResource, sortDirection); + xulSortService.sort(node, sortResource, sortDirection); } catch(ex) { - debug("Exception calling xulSortService.Sort()"); + debug("Exception calling xulSortService.sort()"); } return(true); } @@ -360,7 +360,7 @@ function setInitialSort(node, sortDirection) if (!isupports) return(false); var xulSortService = isupports.QueryInterface(Components.interfaces.nsIXULSortService); if (!xulSortService) return(false); - xulSortService.Sort(node, sortResource, sortDirection); + xulSortService.sort(node, sortResource, sortDirection); } catch(ex) {