Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Item13484: Tell save that it's a form edit, not a topic
Needs validation by MichaelDaum.
  • Loading branch information
gac410 committed Jun 29, 2015
1 parent 48bcacb commit 98c529b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions NatEditPlugin/templates/edit.natedit.tmpl
Expand Up @@ -45,6 +45,7 @@
<input type="hidden" name="action_checkpoint" value="" />
<input type="hidden" name="action_preview" value="" />
<input type="hidden" name="action_replaceform" value="" />
<input type="hidden" name="editaction" value=%IF{"$'action'='form'" then="form" else=""}% />
<input type="hidden" name="action_save" value="" />%TMPL:END%

%TMPL:DEF{"textarea"}%<textarea id="topic" class="foswikiTextarea foswikiWysiwygEdit natedit" data-rest-params="?%NONCE%" data-auto-max-expand="true" data-min-height="230" data-min-height="300" %TMPL:P{"natedit::options"}% name="text">%TEXT%</textarea>%TMPL:END%
Expand Down

1 comment on commit 98c529b

@MichaelDaum
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This increases the code confusion even more. See http://foswiki.org/Tasks/Item13484#Analysis

Please sign in to comment.