Fix for bug 50829. Don't need anymore to create a new row when the user click on an existing address field as the tree now always has an empty area at the bottom. R=jefft

This commit is contained in:
ducarroz%netscape.com 2000-09-05 20:53:46 +00:00
Родитель c05f21b61d
Коммит 89d766de52
2 изменённых файлов: 0 добавлений и 13 удалений

Просмотреть файл

@ -270,18 +270,6 @@ function awCleanupRows()
} }
} }
function awNotAnEmptyArea(event)
{
//This is temporary until i figure out how to ensure to always having an empty space after the last row
dump("awNotAnEmptyArea\n");
var lastInput = awGetInputElement(top.MAX_RECIPIENTS);
if ( lastInput && lastInput.value )
awAppendNewRow(false);
event.preventBubble();
}
function awClickEmptySpace(targ, setFocus) function awClickEmptySpace(targ, setFocus)
{ {
if (targ.localName != 'treechildren') if (targ.localName != 'treechildren')

Просмотреть файл

@ -65,7 +65,6 @@ Rights Reserved.
class="plain textfield-addressingWidget" class="plain textfield-addressingWidget"
style="width:0px;" allowevents="true" style="width:0px;" allowevents="true"
onkeypress="awRecipientKeyPress(event, this)" onkeypress="awRecipientKeyPress(event, this)"
onclick="awNotAnEmptyArea(event);"
autocomplete="true" timeout="300" autocomplete="true" timeout="300"
searchSessionType="addrbook" displayMenu="true"/> searchSessionType="addrbook" displayMenu="true"/>
</treecell> </treecell>