Author: jsdelfino
Date: Mon Jul 28 20:58:15 2008
New Revision: 680621
URL: http://svn.apache.org/viewvc?rev=680621&view=rev
Log:
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.
Modified:
tuscany/java/sca/modules/domain-manager/src/main/resources/utils.js
Modified: tuscany/java/sca/modules/domain-manager/src/main/resources/utils.js
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/modules/domain-manager/src/main/resources/utils.js?rev=680621&r1=680620&r2=680621&view=diff
==============================================================================
--- tuscany/java/sca/modules/domain-manager/src/main/resources/utils.js
(original)
+++ tuscany/java/sca/modules/domain-manager/src/main/resources/utils.js Mon Jul
28 20:58:15 2008
@@ -86,7 +86,7 @@
}
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>';