Bug 481958 - Correct relationship between sort marker/arrow and sort direction in Cookie Manager; r+sr=neil
This commit is contained in:
Родитель
4e451f47f2
Коммит
a20619dc40
|
@ -357,9 +357,9 @@ function CookieColumnSort(column) {
|
|||
break;
|
||||
}
|
||||
if (lastCookieSortAscending)
|
||||
sortedCol.setAttribute("sortDirection", "descending");
|
||||
else
|
||||
sortedCol.setAttribute("sortDirection", "ascending");
|
||||
else
|
||||
sortedCol.setAttribute("sortDirection", "descending");
|
||||
|
||||
// clear out the sortDirection attribute on the rest of the columns
|
||||
var currentCol = sortedCol.parentNode.firstChild;
|
||||
|
|
|
@ -96,7 +96,7 @@
|
|||
<treecols>
|
||||
<treecol id="domainCol" label="&treehead.cookiedomain.label;" flex="5"
|
||||
onclick="CookieColumnSort('rawHost', true);" persist="width hidden"
|
||||
sortDirection="descending"/>
|
||||
sortDirection="ascending"/>
|
||||
<splitter class="tree-splitter"/>
|
||||
<treecol id="nameCol" label="&treehead.cookiename.label;" flex="5"
|
||||
onclick="CookieColumnSort('name', true);" persist="width hidden"/>
|
||||
|
|
Загрузка…
Ссылка в новой задаче