diff --git a/mozilla/suite/common/bookmarks/bm-panel.js b/mozilla/suite/common/bookmarks/bm-panel.js
index ac5b0e983c1..cb130ab11ae 100644
--- a/mozilla/suite/common/bookmarks/bm-panel.js
+++ b/mozilla/suite/common/bookmarks/bm-panel.js
@@ -42,6 +42,14 @@
// tree widget, etc.
function Startup()
{
+ // correct keybinding command attributes which don't do our business yet
+ var key = document.getElementById("key_delete");
+ if (key.getAttribute("command"))
+ key.setAttribute("command", "cmd_bm_delete");
+ key = document.getElementById("key_delete2");
+ if (key.getAttribute("command"))
+ key.setAttribute("command", "cmd_bm_delete");
+
var bookmarksView = document.getElementById("bookmarks-view");
bookmarksView.tree.view.selection.select(0);
}
diff --git a/mozilla/suite/common/bookmarks/bm-panel.xul b/mozilla/suite/common/bookmarks/bm-panel.xul
index b6f9334be96..42cd943d72f 100644
--- a/mozilla/suite/common/bookmarks/bm-panel.xul
+++ b/mozilla/suite/common/bookmarks/bm-panel.xul
@@ -83,7 +83,12 @@
oncommandupdate="document.getElementById('bookmarks-view').onCommandUpdate();">
+
+
+
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -178,7 +151,7 @@
key="key_paste" command="cmd_bm_paste"/>
+ key="key_delete" command="cmd_bm_delete"/>