Index: Source/WebCore/inspector/front-end/ScriptsNavigator.js |
=================================================================== |
--- Source/WebCore/inspector/front-end/ScriptsNavigator.js (revision 112680) |
+++ Source/WebCore/inspector/front-end/ScriptsNavigator.js (working copy) |
@@ -569,10 +569,16 @@ |
return this._uiSourceCode; |
}, |
+ onattach: function() |
+ { |
+ WebInspector.BaseNavigatorTreeElement.prototype.onattach.call(this); |
+ this.listItemElement.addEventListener("click", this._onclick.bind(this), false); |
+ }, |
+ |
/** |
* @param {Event} event |
*/ |
- ondblclick: function(event) |
+ _onclick: function(event) |
{ |
this._navigator.scriptSelected(this.uiSourceCode); |
}, |