[Pkg-mozext-commits] [requestpolicy] 07/14: Remove `DOM_VK_ENTER`
David Prévot
taffit at moszumanska.debian.org
Sun Jul 5 15:42:37 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v0.5.29
in repository requestpolicy.
commit 36310d4aeb6cab527cb49bdf3009bdbc4a4283c4
Author: Martin Kimmerle <dev at 256k.de>
Date: Wed May 20 23:45:46 2015 +0200
Remove `DOM_VK_ENTER`
== Message on AMO: ==
Warning: DOM_VK_ENTER has been removed. Removing it from your
code shouldn't have any impact since it was never triggered in
Firefox anyway.
See bug https://bugzil.la/969247 for more information.
---
src/content/prefWindow.xul | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/content/prefWindow.xul b/src/content/prefWindow.xul
index 666555b..fa6c1e8 100644
--- a/src/content/prefWindow.xul
+++ b/src/content/prefWindow.xul
@@ -128,7 +128,7 @@
<textbox id="addOrigin-originField" emptytext="&rp.origin;"
oninput="requestpolicy.prefWindow.addToWhitelistInputChanged(this)"
flex="1"
- onkeydown="if(event.keyCode==event.DOM_VK_ENTER || event.keyCode==event.DOM_VK_RETURN) { requestpolicy.prefWindow.addToWhitelist(this.button); return false; }" />
+ onkeydown="if(event.keyCode==event.DOM_VK_RETURN) { requestpolicy.prefWindow.addToWhitelist(this.button); return false; }" />
<button id="addOrigin" label="&rp.allow;"
oncommand="requestpolicy.prefWindow.addToWhitelist(this)"
disabled="true" />
@@ -160,7 +160,7 @@
<textbox id="addDestination-destinationField" emptytext="&rp.destination;"
oninput="requestpolicy.prefWindow.addToWhitelistInputChanged(this)"
flex="1"
- onkeydown="if(event.keyCode==event.DOM_VK_ENTER || event.keyCode==event.DOM_VK_RETURN) { requestpolicy.prefWindow.addToWhitelist(this.button); return false; }" />
+ onkeydown="if(event.keyCode==event.DOM_VK_RETURN) { requestpolicy.prefWindow.addToWhitelist(this.button); return false; }" />
<button id="addDestination" label="&rp.allow;"
oncommand="requestpolicy.prefWindow.addToWhitelist(this)"
disabled="true" />
@@ -188,19 +188,19 @@
<button id="removeOriginsToDestinations" label="&preferences.removeSelectedSites;"
oncommand="requestpolicy.prefWindow.removeSelectedFromList(this.listbox)"
disabled="true" />
- </hbox>
+ </hbox>
<separator class="thin" />
<hbox>
<textbox id="addOriginToDestination-originField"
emptytext="&rp.origin;"
oninput="requestpolicy.prefWindow.addToWhitelistInputChanged(this)"
flex="1"
- onkeydown="if(event.keyCode==event.DOM_VK_ENTER || event.keyCode==event.DOM_VK_RETURN) { requestpolicy.prefWindow.addToWhitelist(this.button); return false; }" />
+ onkeydown="if(event.keyCode==event.DOM_VK_RETURN) { requestpolicy.prefWindow.addToWhitelist(this.button); return false; }" />
<textbox id="addOriginToDestination-destinationField"
emptytext="&rp.destination;"
oninput="requestpolicy.prefWindow.addToWhitelistInputChanged(this)"
flex="1"
- onkeydown="if(event.keyCode==event.DOM_VK_ENTER || event.keyCode==event.DOM_VK_RETURN) { requestpolicy.prefWindow.addToWhitelist(this.button); return false; }" />
+ onkeydown="if(event.keyCode==event.DOM_VK_RETURN) { requestpolicy.prefWindow.addToWhitelist(this.button); return false; }" />
<button id="addOriginToDestination" label="&rp.allow;"
oncommand="requestpolicy.prefWindow.addToWhitelist(this)"
disabled="true" />
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/requestpolicy.git
More information about the Pkg-mozext-commits
mailing list