Item1721: Let the foswikiStrikeOne also work in onsubmit with javascript: prefix
Priority: Normal
Current State: Closed
Released In: 1.0.6
Target Release: patch
Applies To: Engine
Component:
Branches:
Let us say someone made something like this
<form name="savepost" action="%SCRIPTURL{"save"}%/%WEB%/" method="post" onsubmit="javascript:alert('sending form');">
We want the
foswikiStrikeOne(this);
to be pasted in between the javascript: and the alert instead of in front of javascript.
Fixing.
--
KennethLavrsen - 14 Jun 2009
Closing (bug has never been in released version)
--
KennethLavrsen - 14 Jun 2009
Re-opening as this fixes generates a warning when there is no javascript:
--
OlivierRaginel - 15 Jun 2009