Commit d2a997b6 authored by pfeldman@chromium.org's avatar pfeldman@chromium.org

2011-03-12 Pavel Feldman <pfeldman@chromium.org>

        Not reviewed: Inspect Element action regression fix.

        * inspector/front-end/inspector.js:
        (WebInspector.inspect):


git-svn-id: svn://svn.chromium.org/blink/trunk@80934 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent e4f9f510
2011-03-12 Pavel Feldman <pfeldman@chromium.org>
Not reviewed: Inspect Element action regression fix.
* inspector/front-end/inspector.js:
(WebInspector.inspect):
2011-03-12 Ilya Tikhonovsky <loislo@chromium.org> 2011-03-12 Ilya Tikhonovsky <loislo@chromium.org>
Unreviewed. One line fix for inspector/dom-breakpoints.html Unreviewed. One line fix for inspector/dom-breakpoints.html
......
...@@ -1183,8 +1183,11 @@ WebInspector.inspect = function(objectId, hints) ...@@ -1183,8 +1183,11 @@ WebInspector.inspect = function(objectId, hints)
var object = WebInspector.RemoteObject.fromPayload(objectId); var object = WebInspector.RemoteObject.fromPayload(objectId);
if (object.type === "node") { if (object.type === "node") {
// Request node from backend and focus it. // Request node from backend and focus it.
object.pushNodeToFrontend(WebInspector.updateFocusedNode.bind(WebInspector)); object.pushNodeToFrontend(WebInspector.updateFocusedNode.bind(WebInspector), object.release.bind(object));
} else if (hints.databaseId) { return;
}
if (hints.databaseId) {
WebInspector.currentPanel = WebInspector.panels.resources; WebInspector.currentPanel = WebInspector.panels.resources;
WebInspector.panels.resources.selectDatabase(hints.databaseId); WebInspector.panels.resources.selectDatabase(hints.databaseId);
} else if (hints.domStorageId) { } else if (hints.domStorageId) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment