my %params=@_;
my $form=$params{form};
- return if $form->field("do") ne "create";
+ return if $form->field("do") ne "create" ||
+ length $form->field("editcontent");
+
my $page=$form->field("page");
# The tricky bit here is that $page is probably just the base
* toggle: Fix for when html got tidied. Closes: #492529 (Enrico Zini)
* inline: Ignore parent dirs when sorting pages by title.
* external: Fix support for hooks called in an array context.
+ * edittemplate: Don't wipe out edits on preview.
-- Josh Triplett <josh@freedesktop.org> Wed, 09 Jul 2008 21:30:33 -0700