refactor viewfeed.js toggleUnread/toggleStarred to selectionToggleUnread, selectionToggleMarked
This commit is contained in:
parent
ea5c81028b
commit
c868b15476
|
@ -1077,8 +1077,8 @@
|
|||
<a href=\"javascript:selectTableRowsByIdPrefix('headlinesList',
|
||||
'RROW-', 'RCHK-', false)\">None</a>
|
||||
|
||||
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>";
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue