summaryrefslogtreecommitdiff
path: root/toolkit/components/passwordmgr/content/passwordManager.js
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/passwordmgr/content/passwordManager.js')
-rw-r--r--toolkit/components/passwordmgr/content/passwordManager.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/toolkit/components/passwordmgr/content/passwordManager.js b/toolkit/components/passwordmgr/content/passwordManager.js
index 4db3e81b9a..2d71d05f64 100644
--- a/toolkit/components/passwordmgr/content/passwordManager.js
+++ b/toolkit/components/passwordmgr/content/passwordManager.js
@@ -479,7 +479,12 @@ function HandleSignonKeyPress(e) {
return;
}
+#ifdef XP_MACOSX
+ if (e.keyCode == KeyboardEvent.DOM_VK_DELETE ||
+ e.keyCode == KeyboardEvent.DOM_VK_BACK_SPACE) {
+#else
if (e.keyCode == KeyboardEvent.DOM_VK_DELETE) {
+#endif
DeleteSignon();
}
}