toggleUnread: remove scriptaculous highlight
This commit is contained in:
parent
12a80ad5cc
commit
ffd3e8e35e
|
@ -635,12 +635,6 @@ function toggleUnread(id, cmode, effect) {
|
|||
if (row.hasClassName("Unread")) {
|
||||
row.removeClassName("Unread");
|
||||
|
||||
if (effect) {
|
||||
new Effect.Highlight(row, {duration: 1, startcolor: "#fff7d5",
|
||||
afterFinish: toggleUnread_afh,
|
||||
queue: { position:'end', scope: 'TMRQ-' + id, limit: 1 } } );
|
||||
}
|
||||
|
||||
} else {
|
||||
row.addClassName("Unread");
|
||||
}
|
||||
|
@ -649,12 +643,6 @@ function toggleUnread(id, cmode, effect) {
|
|||
|
||||
row.removeClassName("Unread");
|
||||
|
||||
if (effect) {
|
||||
new Effect.Highlight(row, {duration: 1, startcolor: "#fff7d5",
|
||||
afterFinish: toggleUnread_afh,
|
||||
queue: { position:'end', scope: 'TMRQ-' + id, limit: 1 } } );
|
||||
}
|
||||
|
||||
} else if (cmode == 1) {
|
||||
row.addClassName("Unread");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue