зеркало из https://github.com/mozilla/pjs.git
Bug #128129 --> enter/return for selected card/list in directory pane won't open properties dlg
sr=bienvenu
This commit is contained in:
Родитель
d877d3daef
Коммит
f2ad330d83
|
@ -332,6 +332,12 @@ function onCompose()
|
|||
AbNewMessage();
|
||||
}
|
||||
|
||||
function AbResultsPaneKeyPress(event)
|
||||
{
|
||||
if (event.keyCode == 13)
|
||||
AbEditSelectedCard();
|
||||
}
|
||||
|
||||
function AbResultsPaneDoubleClick(card)
|
||||
{
|
||||
AbEditCard(card);
|
||||
|
|
|
@ -111,6 +111,7 @@
|
|||
<tree id="abResultsTree" flex="1" enableColumnDrag="true" class="plain"
|
||||
context="threadPaneContext"
|
||||
onclick="AbResultsPaneOnClick(event);"
|
||||
onkeypress="AbResultsPaneKeyPress(event);"
|
||||
onselect="this.view.selectionChanged();"
|
||||
sortCol="GeneratedName"
|
||||
persist="sortCol">
|
||||
|
|
|
@ -602,6 +602,12 @@ function SetStatusText(total)
|
|||
}
|
||||
}
|
||||
|
||||
function AbResultsPaneKeyPress(event)
|
||||
{
|
||||
if (event.keyCode == 13)
|
||||
AbEditSelectedCard();
|
||||
}
|
||||
|
||||
function AbResultsPaneDoubleClick(card)
|
||||
{
|
||||
AbEditCard(card);
|
||||
|
|
|
@ -602,6 +602,7 @@
|
|||
<tree id="abResultsTree" flex="1" enableColumnDrag="true" class="plain"
|
||||
context="abResultsTreeContext"
|
||||
onclick="AbResultsPaneOnClick(event);"
|
||||
onkeypress="AbResultsPaneKeyPress(event);"
|
||||
onselect="this.view.selectionChanged();"
|
||||
sortCol="GeneratedName"
|
||||
minheight="100" height="100"
|
||||
|
|
Загрузка…
Ссылка в новой задаче