Bug 315150 - upload should use dispatchDOMUIEvent. r=aaronr/doronr.

This commit is contained in:
pedemont%us.ibm.com 2005-11-09 16:09:36 +00:00
Родитель b5eca84a79
Коммит 2fa1fa8db3
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -476,12 +476,12 @@
<html:button anonid="upload_browse_button"
type="button"
onclick="this.parentNode.uploadElem.pickFile();"
onkeypress="if (event.keyCode == event.DOM_VK_RETURN) this.parentNode.dispatchDOMActivate();"
onkeypress="if (event.keyCode == event.DOM_VK_RETURN) this.parentNode.dispatchDOMUIEvent('DOMActivate');"
xbl:inherits="accesskey"> &xforms.upload.browsetext; </html:button>
<html:button anonid="upload_clear_button"
type="button"
onclick="this.parentNode.uploadElem.clearFile();"
onkeypress="if (event.keyCode == event.DOM_VK_RETURN) this.parentNode.dispatchDOMActivate();"
onkeypress="if (event.keyCode == event.DOM_VK_RETURN) this.parentNode.dispatchDOMUIEvent('DOMActivate');"
xbl:inherits="accesskey"> &xforms.upload.cleartext; </html:button>
<children/>
</content>