Hey everybody,

I have a problem with @ImageSubmit and javascript onClick function. In
my html template is next line:

 <span jwcid="@ImageSubmit" onclick="javascript:return confirm('Really
delete?')" style="border:0px" image="ognl:assets.imgRemove"
selected="ognl:delCargo" tag="ognl:cargo"/>

It raises a javascript confirmation box and user confirms deletion.

For some reason it won't matter if a press yes or cancel result is the
same. ImageSubmit still triggers submit and deletes item. Why I don't
know :(

Can anyone help me with this annoying problem?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to