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',
|
<a href=\"javascript:selectTableRowsByIdPrefix('headlinesList',
|
||||||
'RROW-', 'RCHK-', false)\">None</a>
|
'RROW-', 'RCHK-', false)\">None</a>
|
||||||
|
|
||||||
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>";
|
||||||
|
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue