-- NOT PART OF THE BUILD --

Don't break 0.8 users just yet.
This commit is contained in:
rginda%netscape.com 2001-02-27 03:30:35 +00:00
parent 4e26add3c6
commit 5cc2012fd6

View File

@ -60,7 +60,13 @@ function onSortCol(sortColName)
* moment.
*/
const nsIXULSortService = Components.interfaces.nsIXULSortService;
const isupports_uri = "@mozilla.org/xul/xul-sort-service;1";
/* XXX remove the rdf version once 0.8 is a distant memory
* 2/22/2001
*/
const isupports_uri =
(Components.classes["@mozilla.org/xul/xul-sort-service;1"]) ?
"@mozilla.org/xul/xul-sort-service;1" :
"@mozilla.org/rdf/xul-sort-service;1";
var node = document.getElementById(sortColName);
// determine column resource to sort on