Mercurial > hg > bts-webui
changeset 86:ffb1ff6749ce draft
templates: fix form action paths
it was posting to ./ which converted /bug/number to /bug/, that wasn't working
since there's no url handler for that. Removing action='' posts to the current
url, although we must check if this behaviour is standard among browsers.
author | diegoe-guest |
---|---|
date | Wed, 03 Jun 2009 19:09:30 +0000 |
parents | 3c3d59cdefdb |
children | a0ee7702e4a8 |
files | bts_webui/amancay/templates/bug_forms.html |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/bts_webui/amancay/templates/bug_forms.html +++ b/bts_webui/amancay/templates/bug_forms.html @@ -1,6 +1,6 @@ <!-- hidden forms: add comment --> <div class="action_form" id="add_comment_form"> - <form name="add_comment" method="POST" action="./"> + <form name="add_comment" method="POST"> <fieldset class="action_form"> <legend class="action_form">Add Comment</legend> <ul> @@ -22,7 +22,7 @@ </div> <!-- reassign --> <div class="action_form" id="reassign_form"> - <form name="reassign" method="POST" action="./"> + <form name="reassign" method="POST"> <fieldset class="action_form"> <legend class="action_form">Reassign report to</legend> <ul> @@ -47,7 +47,7 @@ <!-- retitle --> <div class="action_form" id="retitle_form"> - <form name="retitle" method="POST" action="./"> + <form name="retitle" method="POST"> <fieldset class="action_form"> <legend class="action_form">Retitle bug report</legend> <ul> @@ -69,7 +69,7 @@ </div> <!-- close --> <div class="action_form" id="close_form"> - <form name="close" method="POST" action="./"> + <form name="close" method="POST"> <fieldset class="action_form"> <legend class="action_form">Close bug report</legend> <ul> @@ -92,7 +92,7 @@ <!-- severity --> <div class="action_form" id="severity_form"> - <form name="severity" method="POST" action="./"> + <form name="severity" method="POST"> <fieldset class="action_form"> <legend class="action_form">Change bug severity</legend> <ul>