Bug 612265 - "Always use Google to subscribe to feeds" setting ignored. r=Neil
authorJens Hatlak <jh@junetz.de>
Wed, 17 Nov 2010 18:55:18 +0100
changeset 6709 681a70c2ce9405733f1e15c429fceb14e312c1b0
parent 6708 49d8305217259d5ed3114e40bb1a502a7f22c51c
child 6710 bbf09f7bab5c2dccb0032d094b78c3e66359d8f1
push idunknown
push userunknown
push dateunknown
reviewersNeil
bugs612265
Bug 612265 - "Always use Google to subscribe to feeds" setting ignored. r=Neil
suite/feeds/src/FeedWriter.js
--- a/suite/feeds/src/FeedWriter.js
+++ b/suite/feeds/src/FeedWriter.js
@@ -1277,17 +1277,16 @@ FeedWriter.prototype = {
       var wccr = Components.classes["@mozilla.org/embeddor.implemented/web-content-handler-registrar;1"]
                            .getService(Components.interfaces.nsIWebContentConverterService);
       var handler = wccr.getWebContentHandlerByURI(this._getMimeTypeForFeedType(feedType), webURI);
       if (handler) {
         if (useAsDefault)
           wccr.setAutoHandler(this._getMimeTypeForFeedType(feedType), handler);
 
         this._window.location.href = handler.getHandlerURI(this._window.location.href);
-        return;
       }
     }
     else {
       switch (selectedItem.getAttribute("anonid")) {
         case "selectedAppMenuItem":
           prefs.setComplexValue(getPrefAppForType(feedType), Components.interfaces.nsILocalFile,
                                 this._selectedApp);
           prefs.setCharPref(getPrefReaderForType(feedType), "client");