| Index: Source/WebCore/inspector/front-end/ScriptsPanel.js
|
| ===================================================================
|
| --- Source/WebCore/inspector/front-end/ScriptsPanel.js (revision 102900)
|
| +++ Source/WebCore/inspector/front-end/ScriptsPanel.js (working copy)
|
| @@ -53,7 +53,7 @@
|
| this.splitView.minimalSidebarWidth = Preferences.minScriptsSidebarWidth;
|
| this.splitView.minimalMainWidthPercent = minimalViewsContainerWidthPercent;
|
|
|
| - this.splitView.sidebarElement.appendChild(this.debugToolbar);
|
| + this.sidebarElement.appendChild(this.debugToolbar);
|
| this.splitView.mainElement.appendChild(this.editorToolbar);
|
|
|
| this.viewsContainerElement = this.splitView.mainElement;
|
| @@ -80,8 +80,12 @@
|
| } else
|
| this.sidebarPanes.workers = new WebInspector.WorkersSidebarPane();
|
|
|
| + this._debugSidebarContentsElement = document.createElement("div");
|
| + this._debugSidebarContentsElement.id = "scripts-debug-sidebar-contents";
|
| + this.sidebarElement.appendChild(this._debugSidebarContentsElement);
|
| +
|
| for (var pane in this.sidebarPanes)
|
| - this.sidebarElement.appendChild(this.sidebarPanes[pane].element);
|
| + this._debugSidebarContentsElement.appendChild(this.sidebarPanes[pane].element);
|
|
|
| this.sidebarPanes.callstack.expanded = true;
|
|
|
| @@ -178,7 +182,7 @@
|
| {
|
| WebInspector.Panel.prototype.wasShown.call(this);
|
| if (Capabilities.nativeInstrumentationEnabled)
|
| - this.sidebarElement.insertBefore(this.sidebarPanes.domBreakpoints.element, this.sidebarPanes.xhrBreakpoints.element);
|
| + this._debugSidebarContentsElement.insertBefore(this.sidebarPanes.domBreakpoints.element, this.sidebarPanes.xhrBreakpoints.element);
|
| this.sidebarPanes.watchExpressions.show();
|
| },
|
|
|
|
|