зеркало из https://github.com/mozilla/pjs.git
Fix for bug 134824. Column Sorting in the Download Manager has no effect.
r=neil, sr=jag, a=asa
This commit is contained in:
Родитель
25b0d4b13f
Коммит
5a80102a68
|
@ -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) { }
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче