Quote:
Originally Posted by Tarion
when i hit the bugnote button in the detailed buglist the skript take me to the edit bug page and not to the bugnote page.
|
This is a problem with IE not being standards compliant ...
Template bugs_details, FIND
Code:
<form action="bugs.php" method="post" style="margin-bottom: 0px">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="id" value="$bug[id]" />
<button type="submit" name="do" value="addbugnote">$vbphrase[add_bugnote]</button>
<if condition="is_member_of($bbuserinfo, $vboptions[bugadmingroup])">
<button type="submit" name="do" value="editbug">$vbphrase[edit_bug]</button>
</if>
</form>
REPLACE with
Code:
<form action="bugs.php" method="post" style="margin-bottom: 0px">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="id" value="$bug[id]" />
<input type="hidden" name="do" value="addbugnote">
<input type="submit" value="$vbphrase[add_bugnote]">
</form>
<if condition="is_member_of($bbuserinfo, $vboptions[bugadmingroup])">
<form action="bugs.php" method="post" style="margin-bottom: 0px">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="id" value="$bug[id]" />
<input type="hidden" name="do" value="editbug">
<input type="submit" value="$vbphrase[edit_bug]">
</form>
</if>