You are here: Foswiki>Tasks Web>Item12880 (30 Aug 2015, GeorgeClark)Edit Attach

Item12880: A revision comment entered in the edit window is lost on preview.

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: RevCommentPlugin
Branches:
Reported By: DavidAllen
Waiting For:
Last Change By: GeorgeClark
A revision comment entered in the edit window is lost on preview, and if not reentered into the "Summary of changes" field it will not be saved.

Fix to edit.pattern.tmpl:
%TMPL:DEF{"revCommentPluginOptions"}%%IF{ "context RevCommentPluginEnabled" then="<div class='revComment'><label for='comment'>Summary of changes</label> <input class='foswikiInputField' type='text' style='width:50%' name='comment' id='comment' %IF{ "defined comment" then="value='%URLPARAM{ "comment" }%'" else="" }% /> %POPUPWINDOW{"%SYSTEMWEB%.RevComment" label="%MAKETEXT{"help"}%"}%</div>" else=""}%%TMPL:END%

-- DavidAllen - 02 May 2014

Fix applied to RevCommentPlugin version 2.00. Thanks for the patch.

-- GeorgeClark - 30 Aug 2015
 

ItemTemplate edit

Summary A revision comment entered in the edit window is lost on preview.
ReportedBy DavidAllen
Codebase
SVN Range
AppliesTo Extension
Component RevCommentPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r2 - 30 Aug 2015, GeorgeClark
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