Item1721: Let the foswikiStrikeOne also work in onsubmit with javascript: prefix

pencil
Priority: Normal
Current State: Closed
Released In: 1.0.6
Target Release: patch
Applies To: Engine
Component:
Branches:
Reported By: KennethLavrsen
Waiting For:
Last Change By: OlivierRaginel
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

ItemTemplate edit

Summary Let the foswikiStrikeOne also work in onsubmit with javascript: prefix
ReportedBy KennethLavrsen
Codebase
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:067b16b7fbfb distro:11cbe6186ea9 distro:3d72def9ee1d distro:356fed478551
TargetRelease patch
ReleasedIn 1.0.6
Topic revision: r4 - 15 Jun 2009, OlivierRaginel
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy