Closed Bug 121382 Opened 23 years ago Closed 21 years ago

Sorting by order received doesn't clear sort direction indicator

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
Windows 95
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: neil, Assigned: sspitzer)

Details

(Keywords: polish)

Attachments

(1 file)

Using Build ID: 2002012203
Steps to reproduce problem:
1. Sort by e.g. subject
2. Sort by order received (via menu)

Expected results: sort direction indicator on subject column is cleared

Actual results: sort direction indicator persists on subject column
QA Contact: esther → laurel
Index: threadPane.js
===================================================================
RCS file: /cvsroot/mozilla/mailnews/base/resources/content/threadPane.js,v
retrieving revision 1.43
diff -u -w -r1.43 threadPane.js
--- threadPane.js	2002/01/16 03:01:08	1.43
+++ threadPane.js	2002/02/25 13:27:03
@@ -267,16 +267,16 @@
       else {
	 sortedColumn.setAttribute("sortDirection","descending");
       }
+    }
+  }

       // remove the sort indicator from all the columns
       // except the one we are sorted by
-      var currCol = sortedColumn.parentNode.firstChild;
+  var currCol = document.getElementById("threadCol");
       while (currCol) {
	 if (currCol != sortedColumn && currCol.localName == "outlinercol")
	   currCol.removeAttribute("sortDirection");
	 currCol = currCol.nextSibling;
-      }
-    }
   }
 }
Keywords: patch, polish, review
This was fixed by the patch to bug 44823.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: