From d76fd3b5d919feec1fb031ba67d30559cc28301c Mon Sep 17 00:00:00 2001 From: "rgoodger%ihug.co.nz" Date: Fri, 14 Jan 2000 00:17:48 +0000 Subject: [PATCH] 23872, fixing double click behaviour in profile manager git-svn-id: svn://10.0.0.236/trunk@57753 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/profile/resources/content/profileManager.js | 9 +++++++++ mozilla/profile/resources/content/profileSelection.xul | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/mozilla/profile/resources/content/profileManager.js b/mozilla/profile/resources/content/profileManager.js index e95a0ec8799..91535d9cbb4 100644 --- a/mozilla/profile/resources/content/profileManager.js +++ b/mozilla/profile/resources/content/profileManager.js @@ -268,3 +268,12 @@ function HandleKeyEvent( aEvent ) } } +function HandleClickEvent( aEvent ) +{ + if( aEvent.clickCount == 2 ) { + if( aEvent.target.nodeName.toLowerCase() == "treecell" ) + return onStart(); + } + else + return showSelection(aEvent.target.parentNode.parentNode); +} \ No newline at end of file diff --git a/mozilla/profile/resources/content/profileSelection.xul b/mozilla/profile/resources/content/profileSelection.xul index f2f807b22ff..cde39b732a1 100644 --- a/mozilla/profile/resources/content/profileSelection.xul +++ b/mozilla/profile/resources/content/profileSelection.xul @@ -90,7 +90,7 @@