зеркало из https://github.com/mozilla/pjs.git
New tree widget. r=saari, bug#30511
This commit is contained in:
Родитель
d83a94d523
Коммит
d77d15a3a4
|
@ -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">
|
||||
|
|
Загрузка…
Ссылка в новой задаче