Index: Source/devtools/front_end/ui/Dialog.js |
diff --git a/Source/devtools/front_end/ui/Dialog.js b/Source/devtools/front_end/ui/Dialog.js |
index eacb7ce6d5c4fcf79c8915b6dda97fc7b5e49174..9b482a79511e1065078093e3c5d2154f151ad9b4 100644 |
--- a/Source/devtools/front_end/ui/Dialog.js |
+++ b/Source/devtools/front_end/ui/Dialog.js |
@@ -87,6 +87,11 @@ WebInspector.Dialog.hide = function() |
} |
WebInspector.Dialog.prototype = { |
+ focus: function() |
+ { |
+ this._element.focus(); |
dgozman
2014/07/17 11:43:05
Maybe |this._delegate.focus()| ?
|
+ }, |
+ |
_hide: function() |
{ |
if (this._isHiding) |