зеркало из https://github.com/mozilla/pjs.git
Bug #261883 --> Adding new RSS feed doesn't store it in the selected folder
add a menu fly out for choosing container folders that have subfolders.
This commit is contained in:
Родитель
cd2985f54b
Коммит
6ebf300598
|
@ -59,7 +59,7 @@ function onOk()
|
|||
feedLocation = feedLocation.replace( /^\s+/, "").replace( /\s+$/, "");
|
||||
|
||||
window.arguments[0].feedLocation = feedLocation;
|
||||
window.arguments[0].folderURI = document.getElementById('selectFolder').value;
|
||||
window.arguments[0].folderURI = document.getElementById('selectFolder').getAttribute("uri");;
|
||||
window.arguments[0].quickMode = document.getElementById('quickMode').checked;
|
||||
window.arguments[0].result = true;
|
||||
|
||||
|
|
|
@ -84,14 +84,17 @@
|
|||
<menupopup>
|
||||
<menu uri="..."
|
||||
class="folderMenuItem menu-iconic"
|
||||
oncommand="PickedMsgFolder(event.target,'selectFolder')"
|
||||
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
||||
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
||||
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
||||
IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
|
||||
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"
|
||||
label="rdf:http://home.netscape.com/NC-rdf#Name">
|
||||
<menupopup class="menulist-menupopup"/>
|
||||
<menupopup class="menulist-menupopup">
|
||||
<menuitem label="&choosethisfolder.label;"
|
||||
oncommand="PickedMsgFolder(event.target.parentNode.parentNode,'selectFolder')"/>
|
||||
<menuseparator/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
</menupopup>
|
||||
</rule>
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
<!-- Feed Properties Dialog -->
|
||||
<!ENTITY window.title "News Feed Properties">
|
||||
|
||||
<!ENTITY feedFolder.label "Store Feed Articles in: ">
|
||||
<!ENTITY feedFolder.accesskey "S">
|
||||
|
||||
<!ENTITY feedLocation.label "Feed URL: ">
|
||||
<!ENTITY feedLocation.accesskey "F">
|
||||
|
||||
<!ENTITY quickMode.label "Show the article summary instead of loading the web page">
|
||||
<!ENTITY quickMode.accesskey "h">
|
||||
|
Загрузка…
Ссылка в новой задаче