You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by js...@apache.org on 2008/07/29 05:58:16 UTC
svn commit: r680621 -
/tuscany/java/sca/modules/domain-manager/src/main/resources/utils.js
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>';