Bug 491143 - View - Feed Message Body As - Default doesn't work
authorIan Neal <iann_cvs@blueyonder.co.uk>
Mon, 04 May 2009 19:36:04 +0100
changeset 2549 2580d4920e207ab45bec9f24c36233eecc8b9b9c
parent 2548 db857c5e58e8625e6f3afb4ee8503b6e5e3715ab
child 2550 7991bb9932ca527d4b2ea92bdf50b119b0f33341
push idunknown
push userunknown
push dateunknown
bugs491143
Bug 491143 - View - Feed Message Body As - Default doesn't work p=me r=standard8 sr=bienvenu
mailnews/extensions/newsblog/content/utils.js
--- a/mailnews/extensions/newsblog/content/utils.js
+++ b/mailnews/extensions/newsblog/content/utils.js
@@ -47,18 +47,17 @@ else
   debug = function() {}
 
 Components.utils.import("resource://gre/modules/ISO8601DateUtils.jsm");
 var rdf = Components.classes["@mozilla.org/rdf/rdf-service;1"]
                     .getService(Components.interfaces.nsIRDFService);
 var rsspref = Components.classes["@mozilla.org/preferences-service;1"]
                         .getService(Components.interfaces.nsIPrefBranch);
 
-const RDF_NS = "http://www.w3.org/1999/02/22-rdf-syntax-ns#";
-const RDF_TYPE = rdf.GetResource(RDF_NS + "type");
+const RDF_TYPE = rdf.GetResource("http://www.w3.org/1999/02/22-rdf-syntax-ns#type");
 
 const RSS_NS = "http://purl.org/rss/1.0/";
 const RSS_CHANNEL = rdf.GetResource(RSS_NS + "channel");
 const RSS_TITLE = rdf.GetResource(RSS_NS + "title");
 const RSS_DESCRIPTION = rdf.GetResource(RSS_NS + "description");
 const RSS_ITEMS = rdf.GetResource(RSS_NS + "items");
 const RSS_ITEM = rdf.GetResource(RSS_NS + "item");
 const RSS_LINK = rdf.GetResource(RSS_NS + "link");