mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
Preferences - Show Cookies - <tree onselect>/"onCookieSelected" is not fired twice
This commit is contained in:
parent
ec107bb60e
commit
f3919fb5e6
2 changed files with 6 additions and 2 deletions
|
|
@ -808,7 +808,9 @@ var gCookiesWindow = {
|
|||
|
||||
this._view._invalidateCache(0);
|
||||
this._view.selection.clearSelection();
|
||||
this._view.selection.select(0);
|
||||
if (this._view.rowCount > 0) {
|
||||
this._view.selection.select(0);
|
||||
}
|
||||
this._tree.treeBoxObject.invalidate();
|
||||
this._tree.treeBoxObject.ensureRowIsVisible(0);
|
||||
|
||||
|
|
|
|||
|
|
@ -788,7 +788,9 @@ var gCookiesWindow = {
|
|||
|
||||
this._view._invalidateCache(0);
|
||||
this._view.selection.clearSelection();
|
||||
this._view.selection.select(0);
|
||||
if (this._view.rowCount > 0) {
|
||||
this._view.selection.select(0);
|
||||
}
|
||||
this._tree.treeBoxObject.invalidate();
|
||||
this._tree.treeBoxObject.ensureRowIsVisible(0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue