Skip to content

Commit

Permalink
Item1688: Left over enableTWikiMandatoryChecks in edit template cause…
Browse files Browse the repository at this point in the history
…s warnings in JS debuggers

It was probably forgotten when the script was renamed and moved to form def


git-svn-id: http://svn.foswiki.org/trunk@4039 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
KennethLavrsen authored and KennethLavrsen committed Jun 5, 2009
1 parent 9603af7 commit 043334b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PatternSkin/templates/edit.pattern.tmpl
Expand Up @@ -42,7 +42,7 @@ foswiki.Event.addLoadEvent(initForm);

%TMPL:DEF{"button_checkpoint"}%<input type="submit" class="foswikiButton" name="action_checkpoint" id="checkpoint" %MAKETEXT{"value='Save and Continue' accesskey='k'"}% />%TMPL:END%

%TMPL:DEF{"button_preview"}%<input type="submit" class="foswikiButton" name="action_preview" id="preview" %MAKETEXT{"value='Preview' accesskey='p'"}% onclick="enableTWikiMandatoryChecks()" />%TMPL:END%
%TMPL:DEF{"button_preview"}%<input type="submit" class="foswikiButton" name="action_preview" id="preview" %MAKETEXT{"value='Preview' accesskey='p'"}% />%TMPL:END%

%TMPL:DEF{"button_cancel"}%<input type="submit" class="foswikiButtonCancel" name="action_cancel" id="cancel" title='%MAKETEXT{"Cancel editing and discard changes"}%' %MAKETEXT{"value='Cancel' accesskey='c'"}% onclick="suppressSaveValidation()" />%TMPL:END%

Expand Down

0 comments on commit 043334b

Please sign in to comment.