Skip to content

Commit

Permalink
Item798: cancel edit - shame foswikiButton looks different from the f…
Browse files Browse the repository at this point in the history
…orm buttons, but still

git-svn-id: http://svn.foswiki.org/trunk/FoswikiApplicationsContrib@2052 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
SvenDowideit authored and SvenDowideit committed Jan 19, 2009
1 parent fb2af73 commit 40c18a4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion data/System/NewsApplication.txt
Expand Up @@ -121,7 +121,10 @@ to display News Items from _all_ categories:
%FORMERROR{"%TOPIC%%BASETOPIC%%CATEGORY%"}% | %FORMELEMENT{
type="submit"
buttonlabel="Submit"
}% %ENDFORM% |%ENDSECTION{"edit_item"}%
}% \
%IF{"defined 'ITEM'" then="<a class='foswikiButton foswikiCancelButton' href='%SCRIPTURL{view}%/%BASEWEB%/%BASETOPIC%'>Cancel</a>" else=""}% \
%ENDFORM% |%ENDSECTION{"edit_item"}%

</verbatim>

---+++ DataForm definition
Expand Down

0 comments on commit 40c18a4

Please sign in to comment.