title of grouping tab can be customized by F2 key
This commit is contained in:
parent
6c13384537
commit
be484a2116
@ -5,6 +5,12 @@
|
|||||||
onclick="onClick(event)"
|
onclick="onClick(event)"
|
||||||
ondblclick="onDblClick(event)"
|
ondblclick="onDblClick(event)"
|
||||||
title="&group.default;">
|
title="&group.default;">
|
||||||
|
<commandset>
|
||||||
|
<command id="cmd_enterEdit" oncommand="enterEdit()"/>
|
||||||
|
</commandset>
|
||||||
|
<keyset>
|
||||||
|
<key keycode="VK_F2" command="cmd_enterEdit"/>
|
||||||
|
</keyset>
|
||||||
<stack flex="1">
|
<stack flex="1">
|
||||||
<box class="background-image-container">
|
<box class="background-image-container">
|
||||||
<image class="icon background-image"/>
|
<image class="icon background-image"/>
|
||||||
@ -55,6 +61,8 @@ if (location.href.indexOf('?') > -1 && title) {
|
|||||||
|
|
||||||
function enterEdit()
|
function enterEdit()
|
||||||
{
|
{
|
||||||
|
if (gDeck.selectedIndex == 1) return;
|
||||||
|
|
||||||
gEdit.value = gLabel.value;
|
gEdit.value = gLabel.value;
|
||||||
gDeck.selectedIndex = 1;
|
gDeck.selectedIndex = 1;
|
||||||
gEdit.focus();
|
gEdit.focus();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user