diff --git a/mail/extensions/newsblog/content/feed-properties.js b/mail/extensions/newsblog/content/feed-properties.js index f44186b3ab3..92152454dbd 100644 --- a/mail/extensions/newsblog/content/feed-properties.js +++ b/mail/extensions/newsblog/content/feed-properties.js @@ -46,6 +46,10 @@ function onLoad() // set quick mode value document.getElementById('quickMode').checked = window.arguments[0].quickMode; + + // if we are editing an existing feed, disable the top level account + if (window.arguments[0].folderURI) + document.getElementById('rssAccountMenuItem').setAttribute('disabled', 'true'); } function onOk() diff --git a/mail/extensions/newsblog/content/feed-properties.xul b/mail/extensions/newsblog/content/feed-properties.xul index b4606587acb..dce27eea51b 100644 --- a/mail/extensions/newsblog/content/feed-properties.xul +++ b/mail/extensions/newsblog/content/feed-properties.xul @@ -40,7 +40,7 @@ xmlns:nc="http://home.netscape.com/NC-rdf#" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" title="&window.title;" - style="width: 27em;" + style="width: 30em;" buttons="accept,cancel" onload="onLoad();" ondialogaccept="return onOk();">