diff options
author | Joey Hess <joey@kitenet.net> | 2010-12-25 13:32:57 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-12-25 13:32:57 -0400 |
commit | 9741a3f979eb65b59b32f04422410e206f48ed86 (patch) | |
tree | 1e2fd3f3dad5b796f8b60f9fdb297389a685a71a /IkiWiki/Plugin | |
parent | 80e3f7c309bffcf1e4cf6d52782d15fc96bebcf9 (diff) |
inline: Force an absolute page location when the inline postform is used.
There seems no need to allow selecting a location when creating a page this
way; the user should always want it to appear in the inline whose form they
submitted.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/inline.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index e8e71e552..7c5da7343 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -128,7 +128,7 @@ sub sessioncgi ($$) { $add=1 unless length $add; $add++; } - $q->param('page', $page.$add); + $q->param('page', "/$from/$page$add"); # now go create the page $q->param('do', 'create'); # make sure the editpage plugin is loaded |