Bug 617053 - "Error: getSelectedItem is not defined" when switching from jsObject viewer to dom viewer in document pane, r=neil
authorColby Russell <sevenspade@gmail.com>
Mon, 13 Dec 2010 10:44:07 -0600
changeset 1079 3e3eaa5504e4
parent 1078 233a530399be
child 1080 9766c7bca97e
push id283
push usersevenspade@gmail.com
push dateTue, 14 Dec 2010 02:42:41 +0000
reviewersneil
bugs617053
Bug 617053 - "Error: getSelectedItem is not defined" when switching from jsObject viewer to dom viewer in document pane, r=neil
resources/content/viewers/dom/dom.js
--- a/resources/content/viewers/dom/dom.js
+++ b/resources/content/viewers/dom/dom.js
@@ -452,17 +452,16 @@ DOMViewer.prototype =
   {
     if (!(kAccessibleRetrievalClassID in Components.classes)) {
       aValue = false;
     }
 
     this.mDOMView.showAccessibleNodes = aValue;
     this.mPanel.panelset.setCommandAttribute("cmd:toggleAccessibleNodes",
                                              "checked", aValue);
-    this.onTreeSelectionChange();
   },
 
   /**
    * Return state of 'Show Accessible Nodes' option.
    */
   getAccessibleNodes: function DVr_GetAccessibleNodes()
   {
     return this.mDOMView.showAccessibleNodes;