зеркало из https://github.com/mozilla/pjs.git
Bug #256058 --> when editing an existing feed disable the RSS account option so you can't select
it as a destination folder.
This commit is contained in:
Родитель
61bde17c6e
Коммит
cae627c921
|
@ -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()
|
||||
|
|
|
@ -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();">
|
||||
|
|
Загрузка…
Ссылка в новой задаче