Bug 303541 : Text link widget doesn't getPreventDefault, r+a=mconnor

This commit is contained in:
gavin%gavinsharp.com 2005-08-05 15:14:06 +00:00
parent 1ef1277ed4
commit ffe391ad25

View File

@ -295,7 +295,7 @@
<handlers>
<handler event="click">
<![CDATA[
if (this.disabled)
if (this.disabled || event.getPreventDefault())
return;
var href = this.getAttribute('href');
if (href)