[Kss-devel] Kss BUG? Text and Image in a-tag

Godefroid Chapelle gotcha at bubblenet.be
Tue May 20 14:30:31 CEST 2008


Vladislav Vorobiev wrote:
> Hello,
> 
> I think that I have found a bug in KSS.
> 
> 
> <a href="/xxx" class="nb">
> <img src="http://myimage" alt="edit" />
> </a>
> 
> If I click on the image firebug logs follow information
> "Ignored bubbling event for event [click], target [IMG], EventRule #1
> mergeId [@@0@@click]"
> and reloading the page.
> 
> Follow constriction works:
> <a href="/xxx" class="nb">
> edit
> </a>
> 
> My kss:
> .nb:click {
> evt-click-preventdefault: true;
> action-server: nb;
> nb-editMode: 8;
> }
> 
> The KSS seems to be different. It depends on image or text in the <a> tag.
> 
> Any Ideas?

I think you miss

evt-click-allowbubbling: true;

HTH
-- 
Godefroid Chapelle (aka __gotcha) http://bubblenet.be


More information about the Kss-devel mailing list