summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/domain-manager
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2008-07-29 03:58:15 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2008-07-29 03:58:15 +0000
commit75fb9dcce2379889e3d6131576119eac8e4fe3a4 (patch)
tree26eb0eccd634ce9ad1f389290a26d1342a37dec5 /java/sca/modules/domain-manager
parentd9302c3e06100144e21cc3b9d4731d07edf6b1de (diff)
Fixed mouse event handling in suggest popup list, now selecting list items on mousedown event as some browsers do not correctly handle the onclick event.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@680621 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/domain-manager')
-rw-r--r--java/sca/modules/domain-manager/src/main/resources/utils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sca/modules/domain-manager/src/main/resources/utils.js b/java/sca/modules/domain-manager/src/main/resources/utils.js
index 32fbdb47ad..a75bc45a13 100644
--- a/java/sca/modules/domain-manager/src/main/resources/utils.js
+++ b/java/sca/modules/domain-manager/src/main/resources/utils.js
@@ -86,7 +86,7 @@ function suggest(input, suggestFunction) {
}
items += '<tr><td class="suggestItem" ' +
'onmouseover="hilightSuggestion(this, true)" onmouseout="hilightSuggestion(this, false)" ' +
- 'onclick="selectSuggestion(this, \'' + values[i] + '\')">' + values[i] + '</td></tr>';
+ 'onmousedown="selectSuggestion(this, \'' + values[i] + '\')">' + values[i] + '</td></tr>';
}
if (items.length != 0) {
items += '</table>';