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', <a href=\"javascript:selectTableRowsByIdPrefix('headlinesList',
'RROW-', 'RCHK-', false)\">None</a> 'RROW-', 'RCHK-', false)\">None</a>
&nbsp;&nbsp; &nbsp;&nbsp;
Toggle: <a href=\"javascript:toggleUnread()\">Unread</a>, Toggle: <a href=\"javascript:selectionToggleUnread()\">Unread</a>,
<a href=\"javascript:toggleStarred()\">Starred</a>"; <a href=\"javascript:selectionToggleMarked()\">Starred</a>";
print "</td>"; print "</td>";

View File

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