mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
add ability to drag attachments onto the attachment button. i.e. the attachment button now acts
like a drag target.
This commit is contained in:
parent
ffcc804c78
commit
9eed03bbcd
@ -517,7 +517,10 @@
|
||||
<toolbarbutton class="toolbarbutton-1" type="menu-button"
|
||||
id="button-attach" label="&attachButton.label;"
|
||||
tooltiptext="&attachButton.tooltip;"
|
||||
command="cmd_attachFile">
|
||||
command="cmd_attachFile"
|
||||
ondragover="nsDragAndDrop.dragOver(event, envelopeDragObserver);"
|
||||
ondragdrop="nsDragAndDrop.drop(event, envelopeDragObserver);"
|
||||
ondragexit="nsDragAndDrop.dragExit(event, envelopeDragObserver);">
|
||||
<menupopup>
|
||||
<menuitem label="&attachFileCmd.label;" accesskey="&attachFileCmd.accesskey;" command="cmd_attachFile"/>
|
||||
<menuitem label="&attachPageCmd.label;" accesskey="&attachPageCmd.accesskey;" command="cmd_attachPage"/>
|
||||
@ -558,7 +561,7 @@
|
||||
label="&pasteCmd.label;"
|
||||
command="cmd_paste"
|
||||
tooltiptext="&pasteButton.tooltip;"/>
|
||||
|
||||
|
||||
<toolbaritem id="throbber-box" align="center" pack="center">
|
||||
<button id="navigator-throbber" oncommand="loadThrobberUrl('compose.throbber.url')" tooltiptext="&throbber.tooltip;">
|
||||
<observes element="broadcaster_throbber" attribute="busy"/>
|
||||
@ -630,7 +633,7 @@
|
||||
</listcell>
|
||||
<listcell class="addressingWidgetCell">
|
||||
<textbox id="addressCol2#1" class="plain textbox-addressingWidget uri-element"
|
||||
type="autocomplete" flex="1"
|
||||
type="autocomplete" flex="1"
|
||||
searchSessions="addrbook" timeout="300" maxrows="4"
|
||||
autoFill="true" autoFillAfterMatch="true" forceComplete="true"
|
||||
minResultsForPopup="3" ignoreBlurWhileSearching="true"
|
||||
|
Loading…
Reference in New Issue
Block a user