зеркало из https://github.com/mozilla/gecko-dev.git
Partial fix for bug 20200. Only allow one tree to have selection at a time. Not part of the build.
This commit is contained in:
Родитель
1b109edcc2
Коммит
5805498beb
|
@ -352,7 +352,14 @@ function AddPanel()
|
|||
addOption(database, rdfNode, isFirstAddition);
|
||||
isFirstAddition = false;
|
||||
}
|
||||
|
||||
// Remove the selection in the other list.
|
||||
// Selection will move to "current" list.
|
||||
var other_panels = document.getElementById('other-panels');
|
||||
other_panels.clearItemSelection();
|
||||
|
||||
enableButtons();
|
||||
enableOtherButtons();
|
||||
enableSave();
|
||||
}
|
||||
|
||||
|
|
|
@ -352,7 +352,14 @@ function AddPanel()
|
|||
addOption(database, rdfNode, isFirstAddition);
|
||||
isFirstAddition = false;
|
||||
}
|
||||
|
||||
// Remove the selection in the other list.
|
||||
// Selection will move to "current" list.
|
||||
var other_panels = document.getElementById('other-panels');
|
||||
other_panels.clearItemSelection();
|
||||
|
||||
enableButtons();
|
||||
enableOtherButtons();
|
||||
enableSave();
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче