Bug 666202 - import subscriptions and export subscriptions differ about opml extension. r=myk
authoraceman <acelists@atlas.sk>
Wed, 16 Nov 2011 10:35:53 +0000
changeset 8859 92b016a6e2790387158fe1ee722c6769731db4be
parent 8858 69b52d8af4fa416abefb01a68c1dd967e790e652
child 8860 415929bb2436d8b4d7dc8582f427f9acb8f91046
push id6796
push userbugzilla@standard8.plus.com
push dateWed, 16 Nov 2011 10:39:17 +0000
treeherdercomm-central@825d9b87e96c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmyk
bugs666202
Bug 666202 - import subscriptions and export subscriptions differ about opml extension. r=myk
mailnews/extensions/newsblog/content/feed-subscriptions.js
--- a/mailnews/extensions/newsblog/content/feed-subscriptions.js
+++ b/mailnews/extensions/newsblog/content/feed-subscriptions.js
@@ -940,20 +940,20 @@ var gFeedSubscriptionsWindow = {
     outRv.setAttribute("version","RSS");
     outRv.setAttribute("xmlUrl",aFeed.url);
     outRv.setAttribute("htmlUrl",aFeed.link);
     return outRv;
   },
 
   importOPML: function()
   {
-    var rv = pickOpen(this.mBundle.getString("subscribe-OPMLImportTitle"), '$xml $opml $all');
+    var rv = pickOpen(this.mBundle.getString("subscribe-OPMLImportTitle"), '$opml $xml $all');
     if(rv.reason == PICK_CANCEL)
       return;
-    
+
     var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"].getService(IPS);
     var stream = Components.classes["@mozilla.org/network/file-input-stream;1"].createInstance(Components.interfaces.nsIFileInputStream);
     var opmlDom = null;
 
     // read in file as raw bytes, so Expat can do the decoding for us
     try{
       stream.init(rv.file, MODE_RDONLY, PERM_IROTH, 0);
       var parser = new DOMParser();