From 6787ff0352d8b14a661d44eec3f4cdd67d001ae4 Mon Sep 17 00:00:00 2001 From: "gavin%gavinsharp.com" Date: Wed, 1 Mar 2006 02:33:38 +0000 Subject: [PATCH] Bug 328890: Fix silly mistake that broke Thunderbird's use of the text-link binding git-svn-id: svn://10.0.0.236/trunk@191457 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/toolkit/content/widgets/text.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mozilla/toolkit/content/widgets/text.xml b/mozilla/toolkit/content/widgets/text.xml index ace321783d3..6d4c9c2133c 100644 --- a/mozilla/toolkit/content/widgets/text.xml +++ b/mozilla/toolkit/content/widgets/text.xml @@ -327,8 +327,7 @@ const cID = "@mozilla.org/uriloader/external-protocol-service;1"; const nsIEPS = Components.interfaces.nsIExternalProtocolService; - var protocolSvc = Components.classes[contractID] - .getService(nsIEPS); + var protocolSvc = Components.classes[cID].getService(nsIEPS); // if the scheme is not an exposed protocol, then opening this link // should be deferred to the system's external protocol handler