View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001591 | HTML & PERL | Bug Report - Interface | public | 2009-06-20 21:50 | 2009-06-24 22:23 |
| Reporter | noec | Assigned To | fahrenheit | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Summary | 0001591: 'mark unwached' for special eps displays wrong information | ||||
| Description | This bug appears in the MyList page. When clicking 'mark unwatched' for special eps, seen count in the 'seen' column always increases. The problem is in the 'mylist.js' file in lines 404 and 405. Because function's 'changeAnimeRowWatchedState(aid,isWatched,epType)' parameter 'isWatched' is always treated the same way. Patch included. | ||||
| Tags | No tags attached. | ||||
| Attached Files | mylist.patch (707 bytes)
--- mylist.js 2009-06-19 23:08:23.000000000 +0300
+++ mylist.fixed.js 2009-06-21 00:47:29.000000000 +0300
@@ -399,8 +399,8 @@
var text = cellSeen.firstChild.nodeValue;
var value = Number(text.split('+')[1]);
if (!isWatched) {
- if (!value) cellSeen.firstChild.nodeValue += '+1';
- else cellSeen.firstChild.nodeValue = text.replace('+'+value,'+'+(value+1));
+ if (!value || value <= 1) cellSeen.firstChild.nodeValue = text.replace('+'+value,'');
+ else cellSeen.firstChild.nodeValue = text.replace('+'+value,'+'+(value-1));
} else {
if (!value) cellSeen.firstChild.nodeValue += '+1';
else cellSeen.firstChild.nodeValue = text.replace('+'+value,'+'+(value+1));
| ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2009-06-20 21:50 | noec | New Issue | |
| 2009-06-20 21:50 | noec | File Added: mylist.patch | |
| 2009-06-21 03:09 | DerIdiot | Status | new => assigned |
| 2009-06-21 03:09 | DerIdiot | Assigned To | => fahrenheit |
| 2009-06-24 22:23 | fahrenheit | Note Added: 0002840 | |
| 2009-06-24 22:23 | fahrenheit | Status | assigned => resolved |
| 2009-06-24 22:23 | fahrenheit | Resolution | open => fixed |