New tree widget. r=saari, bug#30511

This commit is contained in:
hyatt%netscape.com 2000-06-19 22:59:39 +00:00
Родитель 6aeff8a013
Коммит 7a23dfacfe
2 изменённых файлов: 11 добавлений и 4 удалений

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

@ -201,8 +201,11 @@ function awNotAnEmptyArea(event)
event.preventBubble();
}
function awClickEmptySpace(setFocus)
function awClickEmptySpace(targ, setFocus)
{
if (targ.localName != 'treechildren')
return;
dump("awClickEmptySpace\n");
var lastInput = awGetInputElement(top.MAX_RECIPIENTS);

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

@ -35,12 +35,16 @@ Rights Reserved.
<tree id="addressingWidgetTree"
class="addressingWidget"
rows="3"
onclick="awClickEmptySpace(true)"
onclick="awClickEmptySpace(event.target, true)"
ondragover="return DragOverTree(event);"
ondragdrop="return DropOnAddressingWidgetTree(event);"
style="width:0px;height:0px;border:solid black 1px">
style="border:solid black 1px">
<treechildren id="addressWidgetBody">
<treecols>
<treecol flex="1"/>
</treecols>
<treechildren flex="1" id="addressWidgetBody">
<treeitem>
<treerow>
<treecell allowevents="true">