rem: var feedProperties = { feedLocation: old_url, serverURI: gRSSServer.serverURI, serverPrettyName: gRSSServer.prettyName, folderURI: currentFolderURI, result: userModifiedFeed}; 
add: var feedProperties = { feedLocation: old_url, serverURI: gRSSServer.serverURI, serverPrettyName: gRSSServer.prettyName, folderURI: currentFolderURI, quickMode: feed.quickMode, result: userModifiedFeed}; 
context: function doEdit() {    // XXX There should be some way of correlating feed RDF resources    // with their corresponding Feed objects.  Perhaps in the end much    // of this code could hang off methods of the Feed object.    var ds = getSubscriptionsDS(gRSSServer);    var tree = document.getElementById('subscriptions');    var item = tree.view.getItemAtIndex(tree.view.selection.currentIndex);    var resource = rdf.GetResource(item.id);    var old_url = ds.GetTarget(resource, DC_IDENTIFIER, true);    old_url = old_url ? old_url.QueryInterface(Components.interfaces.nsIRDFLiteral).Value : "";    var currentFolder = ds.GetTarget(resource, FZ_DESTFOLDER, true);    var currentFolderURI = currentFolder.QueryInterface(Components.interfaces.nsIRDFResource).Value;    currentFolder = rdf.GetResource(currentFolderURI).QueryInterface(Components.interfaces.nsIMsgFolder);       var userModifiedFeed = false;     var feedProperties = { feedLocation: old_url, serverURI: gRSSServer.serverURI, serverPrettyName: gRSSServer.prettyName, folderURI: currentFolderURI, result: userModifiedFeed};    feedProperties = openFeedEditor(feedProperties);    if (!feedProperties.result) // did the user cancel?        return;    // did the user change the folder URI for storing the feed?    if (feedProperties.folderURI && feedProperties.folderURI != currentFolderURI)    {      // unassert the older URI, add an assertion for the new URI...      ds.Change(resource, FZ_DESTFOLDER, currentFolder, rdf.GetResource(feedProperties.folderURI));      // we need to update the feed url attributes on the databases for each folder      var folderResource = rdf.GetResource(feedProperties.folderURI);         var newFolder = folderResource.QueryInterface(Components.interfaces.nsIMsgFolder);      currentFolder = rdf.GetResource(currentFolderURI).QueryInterface(Components.interfaces.nsIMsgFolder);      updateFolderFeedUrl(currentFolder, old_url, true); // remove our feed url property from the current folder      updateFolderFeedUrl(newFolder, feedProperties.feedLocation, false); // add our feed url property to the new folder      currentFolder = newFolder; // the folder has changed    }    // check to see if the location changed    if (feedProperties.feedLocation && feedProperties.feedLocation != old_url)    {      ds.Change(resource, DC_IDENTIFIER, rdf.GetLiteral(old_url), rdf.GetLiteral(feedProperties.feedLocation));      // now update our feed url property on the destination folder      updateFolderFeedUrl(currentFolder, old_url, false); // remove the old url      updateFolderFeedUrl(currentFolder, feedProperties.feedLocation, true);  // add the new one    }    // feed = new Feed(item.id);    // feed.download();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/5264f5fa9995ce2efd80f50e804f63fc2334d622/subscriptions.js/clean/mail/extensions/newsblog/content/subscriptions.js