Skip to content
Snippets Groups Projects
Commit 68b76ca3 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

Merge pull request #185 from splitbrain/FS#2724

FS#2724.  fix 'are you sure' when using refresh after using tpl_actiondropdown
parents e0f88986 61efcda1
No related branches found
No related tags found
No related merge requests found
......@@ -1373,11 +1373,13 @@ function tpl_actiondropdown($empty = '', $button = '>') {
global $REV;
global $lang;
echo '<form action="'.DOKU_SCRIPT.'" method="post" accept-charset="utf-8">';
echo '<form action="'.DOKU_SCRIPT.'" method="get" accept-charset="utf-8">';
echo '<div class="no">';
echo '<input type="hidden" name="id" value="'.$ID.'" />';
if($REV) echo '<input type="hidden" name="rev" value="'.$REV.'" />';
echo '<input type="hidden" name="sectok" value="'.getSecurityToken().'" />';
if ($_SERVER['REMOTE_USER']) {
echo '<input type="hidden" name="sectok" value="'.getSecurityToken().'" />';
}
echo '<select name="do" class="edit quickselect" title="'.$lang['tools'].'">';
echo '<option value="">'.$empty.'</option>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment