refactor viewfeed.js toggleUnread/toggleStarred to selectionToggleUnread, selectionToggleMarked

This commit is contained in:
Andrew Dolgov 2005-12-02 18:13:57 +01:00
parent ea5c81028b
commit c868b15476
2 changed files with 4 additions and 4 deletions

View File

@ -1077,8 +1077,8 @@
<a href=\"javascript:selectTableRowsByIdPrefix('headlinesList',
'RROW-', 'RCHK-', false)\">None</a>
&nbsp;&nbsp;
Toggle: <a href=\"javascript:toggleUnread()\">Unread</a>,
<a href=\"javascript:toggleStarred()\">Starred</a>";
Toggle: <a href=\"javascript:selectionToggleUnread()\">Unread</a>,
<a href=\"javascript:selectionToggleMarked()\">Starred</a>";
print "</td>";

View File

@ -226,7 +226,7 @@ function localHotkeyHandler(keycode) {
}
function toggleUnread() {
function selectionToggleUnread() {
try {
if (!xmlhttp_ready(xmlhttp_rpc)) {
printLockingError();
@ -266,7 +266,7 @@ function toggleUnread() {
}
}
function toggleStarred() {
function selectionToggleMarked() {
try {
if (!xmlhttp_ready(xmlhttp_rpc)) {
printLockingError();