зеркало из https://github.com/mozilla/gecko-dev.git
Bug 320290 Task and Event Panels don't sort independently, r=mvl
This commit is contained in:
Родитель
009afce42e
Коммит
f11f46312d
|
@ -475,7 +475,8 @@ var treeView =
|
||||||
|
|
||||||
if (sortActive != "true")
|
if (sortActive != "true")
|
||||||
{
|
{
|
||||||
treeCols = document.getElementsByTagName("treecol");
|
var unifinder = document.getElementById("unifinder-search-results-listbox");
|
||||||
|
treeCols = unifinder.getElementsByTagName("treecol");
|
||||||
for (var i = 0; i < treeCols.length; i++)
|
for (var i = 0; i < treeCols.length; i++)
|
||||||
{
|
{
|
||||||
treeCols[i].removeAttribute("sortActive");
|
treeCols[i].removeAttribute("sortActive");
|
||||||
|
|
|
@ -359,7 +359,8 @@ var toDoTreeView =
|
||||||
|
|
||||||
if (sortActive != "true")
|
if (sortActive != "true")
|
||||||
{
|
{
|
||||||
treeCols = document.getElementsByTagName("treecol");
|
var taskList = document.getElementById("unifinder-todo-tree");
|
||||||
|
treeCols = taskList.getElementsByTagName("treecol");
|
||||||
for (var i = 0; i < treeCols.length; i++)
|
for (var i = 0; i < treeCols.length; i++)
|
||||||
{
|
{
|
||||||
treeCols[i].removeAttribute("sortActive");
|
treeCols[i].removeAttribute("sortActive");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче