Bug 1171980 - Replace draggesture with dragstart, dragdrop with drop events. r=Neil a=RattyAway in a CLOSED TREE.
This commit is contained in:
Родитель
1d2193f04d
Коммит
a218d166a5
|
@ -274,7 +274,7 @@
|
|||
onclick="if (event.button == 1) BrowserHome(event);"
|
||||
tooltip="home-button-tooltip"
|
||||
ondragstart="homeButtonObserver.onDragStart(event);"
|
||||
ondragdrop="homeButtonObserver.onDrop(event);"
|
||||
ondrop="homeButtonObserver.onDrop(event);"
|
||||
ondragenter="event.stopPropagation();"
|
||||
ondragexit="homeButtonObserver.onDragExit(event);"
|
||||
ondragover="homeButtonObserver.onDragOver(event);"/>
|
||||
|
@ -349,7 +349,7 @@
|
|||
oncommand="handleURLBarCommand('none', event);"
|
||||
onclick="checkForMiddleClick(this, event);"
|
||||
ondragover="goButtonObserver.onDragOver(event);"
|
||||
ondragdrop="goButtonObserver.onDrop(event);"/>
|
||||
ondrop="goButtonObserver.onDrop(event);"/>
|
||||
</toolbaritem>
|
||||
|
||||
<toolbaritem id="search-button-container"
|
||||
|
@ -361,7 +361,7 @@
|
|||
tooltiptext="&searchButton.tooltip;"
|
||||
oncommand="BrowserSearch.loadSearch(QualifySearchTerm());"
|
||||
ondragover="searchButtonObserver.onDragOver(event);"
|
||||
ondragdrop="searchButtonObserver.onDrop(event);"/>
|
||||
ondrop="searchButtonObserver.onDrop(event);"/>
|
||||
</toolbaritem>
|
||||
|
||||
<toolbaritem id="search-container" title="&searchItem.title;"
|
||||
|
|
|
@ -209,7 +209,7 @@
|
|||
<!-- Media information -->
|
||||
<vbox id="mediaPanel">
|
||||
<tree id="imagetree" onselect="onImageSelect();" contextmenu="picontext"
|
||||
ondraggesture="onBeginLinkDrag(event,'image-address','image-alt')">
|
||||
ondragstart="onBeginLinkDrag(event,'image-address','image-alt')">
|
||||
<treecols>
|
||||
<treecol sortSeparators="true" primary="true" persist="width" flex="10"
|
||||
width="10" id="image-address" label="&mediaAddress;"/>
|
||||
|
@ -466,7 +466,7 @@
|
|||
<vbox>
|
||||
<tree id="linktree"
|
||||
flex="1"
|
||||
ondraggesture="onBeginLinkDrag(event,'link-address','link-name')"
|
||||
ondragstart="onBeginLinkDrag(event,'link-address','link-name')"
|
||||
contextmenu="piLinksContext">
|
||||
<treecols>
|
||||
<treecol sortSeparators="true" primary="true" persist="width" flex="5"
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
persist="sortDirection sortResource sortResource2"
|
||||
onclick="OnClick(event);"
|
||||
onkeypress="OnClick(event);"
|
||||
ondraggesture="return BeginDragTree(event);">
|
||||
ondragstart="return BeginDragTree(event);">
|
||||
<treecols onclick="doSort(event.target)">
|
||||
<treecol id="FilenameColumn" flex="3" persist="ordinal hidden"
|
||||
label="&directoryWindow.filename.label;"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
onload="OnLoadEditList()"
|
||||
ondialogaccept="return EditListOKButton();"
|
||||
ondragover="DragOverAddressListTree(event);"
|
||||
ondragdrop="DropOnAddressListTree(event);">
|
||||
ondrop="DropOnAddressListTree(event);">
|
||||
|
||||
<stringbundleset id="stringbundleset"/>
|
||||
<vbox id="editlist" flex="1"/>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
ondialogaccept="return MailListOKButton();"
|
||||
onload="OnLoadNewMailList()"
|
||||
ondragover="DragOverAddressListTree(event);"
|
||||
ondragdrop="DropOnAddressListTree(event);">
|
||||
ondrop="DropOnAddressListTree(event);">
|
||||
|
||||
<stringbundleset id="stringbundleset"/>
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
<label value="&addressMessageTo.label;" control="addressBucket"/>
|
||||
<tree id="addressBucket" flex="1" hidecolumnpicker="true"
|
||||
ondragover="DragAddressOverTargetControl(event);"
|
||||
ondragdrop="DropAddressOverTargetControl(event);"
|
||||
ondrop="DropAddressOverTargetControl(event);"
|
||||
onselect="DialogBucketPaneSelectionChanged();">
|
||||
<treecols>
|
||||
<treecol id="addressCol" flex="1" hideheader="true"/>
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
hiddenbydefault="true"
|
||||
flex="1" label="&PrimaryEmail.label;"/>
|
||||
</treecols>
|
||||
<treechildren ondraggesture="nsDragAndDrop.startDrag(event, abResultsPaneObserver);"/>
|
||||
<treechildren ondragstart="nsDragAndDrop.startDrag(event, abResultsPaneObserver);"/>
|
||||
</tree>
|
||||
|
||||
</vbox>
|
||||
|
|
|
@ -17,13 +17,13 @@
|
|||
onkeydown="awKeyDown(event, this)"
|
||||
onclick="awClickEmptySpace(event.originalTarget, true)"
|
||||
ondragover="DragAddressOverTargetControl(event);"
|
||||
ondragdrop="DropAddressOverTargetControl(event);">
|
||||
|
||||
ondrop="DropAddressOverTargetControl(event);">
|
||||
|
||||
<listcols>
|
||||
<listcol id="typecol-addressingWidget"/>
|
||||
<listcol id="textcol-addressingWidget" flex="1"/>
|
||||
</listcols>
|
||||
|
||||
|
||||
<listitem class="addressingWidgetItem" allowevents="true">
|
||||
<listcell class="addressingWidgetCell" align="stretch">
|
||||
<menulist id="addressCol1#1" disableonsend="true"
|
||||
|
@ -40,7 +40,7 @@
|
|||
</menupopup>
|
||||
</menulist>
|
||||
</listcell>
|
||||
|
||||
|
||||
<listcell class="addressingWidgetCell">
|
||||
<textbox id="addressCol2#1" class="plain textbox-addressingWidget uri-element"
|
||||
aria-labelledby="addressCol1#1"
|
||||
|
@ -61,5 +61,5 @@
|
|||
</listitem>
|
||||
|
||||
</listbox>
|
||||
|
||||
|
||||
</overlay>
|
||||
|
|
|
@ -277,7 +277,7 @@
|
|||
command="cmd_sendLater"/>
|
||||
<menuseparator id="menuFileAfterSendLaterSeparator"/>
|
||||
<menuitem id="menu_printSetup"/>
|
||||
<menuitem id="menu_printPreview"/>
|
||||
<menuitem id="menu_printPreview"/>
|
||||
<menuitem id="menu_print"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
@ -581,7 +581,7 @@
|
|||
onkeypress="if (event.keyCode == 8 || event.keyCode == 46) RemoveSelectedAttachment();"
|
||||
onclick="AttachmentBucketClicked(event);"
|
||||
ondragover="nsDragAndDrop.dragOver(event, attachmentBucketObserver);"
|
||||
ondragdrop="nsDragAndDrop.drop(event, attachmentBucketObserver);"
|
||||
ondrop="nsDragAndDrop.drop(event, attachmentBucketObserver);"
|
||||
ondragexit="nsDragAndDrop.dragExit(event, attachmentBucketObserver);"/>
|
||||
</vbox>
|
||||
</hbox>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
datasources="rdf:null"
|
||||
statedatasource="rdf:mailnewsfolders"
|
||||
flags="dont-build-content"
|
||||
ondraggesture="BeginDragFolderTree(event);"
|
||||
ondragstart="BeginDragFolderTree(event);"
|
||||
onselect="FolderPaneSelectionChange();">
|
||||
<template>
|
||||
<rule>
|
||||
|
|
|
@ -116,7 +116,7 @@
|
|||
flex="3"
|
||||
persist="collapsed"
|
||||
ondragover="nsDragAndDrop.dragOver(event, messagepaneObserver);"
|
||||
ondragdrop="nsDragAndDrop.drop(event, messagepaneObserver);"
|
||||
ondrop="nsDragAndDrop.drop(event, messagepaneObserver);"
|
||||
ondragexit="nsDragAndDrop.dragExit(event, messagepaneObserver);">
|
||||
|
||||
<hbox id="msgHeaderView"/>
|
||||
|
|
|
@ -226,7 +226,9 @@
|
|||
crop="right"
|
||||
control="attachmentList"/>
|
||||
<listbox id="attachmentList" rows="3" seltype="multiple"
|
||||
onclick="attachmentListClick(event);" ondraggesture="nsDragAndDrop.startDrag(event,attachmentAreaDNDObserver);" ondragover="nsDragAndDrop.dragOver(event, attachmentAreaDNDObserver);" context="attachmentListContext"/>
|
||||
onclick="attachmentListClick(event);"
|
||||
ondragstart="nsDragAndDrop.startDrag(event,attachmentAreaDNDObserver);"
|
||||
context="attachmentListContext"/>
|
||||
</vbox>
|
||||
</hbox>
|
||||
</hbox>
|
||||
|
|
|
@ -174,9 +174,9 @@
|
|||
tooltip="_child"
|
||||
context="_child"
|
||||
anonid="strip"
|
||||
ondraggesture="nsDragAndDrop.startDrag(event, this.parentNode.parentNode); event.stopPropagation();"
|
||||
ondragstart="nsDragAndDrop.startDrag(event, this.parentNode.parentNode); event.stopPropagation();"
|
||||
ondragover="nsDragAndDrop.dragOver(event, this.parentNode.parentNode); event.stopPropagation();"
|
||||
ondragdrop="nsDragAndDrop.drop(event, this.parentNode.parentNode); event.stopPropagation();"
|
||||
ondrop="nsDragAndDrop.drop(event, this.parentNode.parentNode); event.stopPropagation();"
|
||||
ondragexit="nsDragAndDrop.dragExit(event, this.parentNode.parentNode); event.stopPropagation();">
|
||||
<xul:tooltip onpopupshowing="var tabmail = this.parentNode.parentNode.parentNode;
|
||||
return tabmail.FillTabmailTooltip(document, event);"/>
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
<treecol id="idCol" persist="hidden ordinal width" flex="1" hidden="true"
|
||||
label="&idColumn.label;" tooltiptext="&idColumn2.tooltip;"/>
|
||||
</treecols>
|
||||
<treechildren ondraggesture="BeginDragThreadPane(event);"
|
||||
<treechildren ondragstart="BeginDragThreadPane(event);"
|
||||
ondragover="DragOverThreadPane(event);"
|
||||
ondrop="DropOnThreadPane(event);"/>
|
||||
</tree>
|
||||
|
|
Загрузка…
Ссылка в новой задаче