Bug 700045 - Update splitter state instead of deck for BM Properties context menu option. r+a=Neil
authorJens Hatlak <jh@junetz.de>
Sun, 06 Nov 2011 09:45:50 +0100
changeset 9339 832b2312c94e66d89a39da3242076b6da8fc2e61
parent 9338 8067ee8641fc48074fee46d3f045417a0c674c43
child 9340 30cfc50c883059ad8efc9ff1f256e8a54cd9128e
push idunknown
push userunknown
push dateunknown
bugs700045
Bug 700045 - Update splitter state instead of deck for BM Properties context menu option. r+a=Neil
suite/common/places/controller.js
--- a/suite/common/places/controller.js
+++ b/suite/common/places/controller.js
@@ -277,19 +277,19 @@ PlacesController.prototype = {
       break;
     case "placesCmd_new:livemark":
       this.newItem("livemark");
       break;
     case "placesCmd_new:separator":
       this.newSeparator();
       break;
     case "placesCmd_show:info":
-      var dd = document.getElementById("detailsDeck");
-      if (dd) {
-        dd.collapsed = false;
+      var dds = document.getElementById("detailsDeck-splitter");
+      if (dds) {
+        dds.removeAttribute("state");
         document.getElementById("editBMPanel_namePicker").focus();
       } else {
         this.showBookmarkPropertiesForSelection();
       }
       break;
     case "placesCmd_moveBookmarks":
       this.moveSelectedBookmarks();
       break;