aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/reviews/index.html.erb13
1 files changed, 12 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/reviews/index.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/reviews/index.html.erb
index c8970c6ebb5..9946a4564f8 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/reviews/index.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/reviews/index.html.erb
@@ -1,3 +1,14 @@
+<script>
+function reviewIdFieldModified(field) {
+ if (field.value!='') {
+ $('statuses').value = ''
+ $('severities').value = ''
+ $('projects').value = ''
+ $('authors').value = ''
+ $('assignees').value = ''
+ }
+}
+</script>
<div id="reviews-search">
<h1>Reviews</h1>
<% form_tag({:action => 'index'}, {:method => 'get'}) do %>
@@ -51,7 +62,7 @@
</td>
<td width="1%" nowrap>
<span class="note">Id</span><br/>
- <%= text_field_tag "review_id", @id, :size => 10 -%>
+ <%= text_field_tag "review_id", @id, :size => 10, :onkeyup => "reviewIdFieldModified(this)" -%>
<br/>
<br/>
<br/>