@@ -12,7 +12,7 function add_filter() { | |||||
12 | for (i=0; i<select.options.length; i++) { |
|
12 | for (i=0; i<select.options.length; i++) { | |
13 | if (select.options[i].value == field) { |
|
13 | if (select.options[i].value == field) { | |
14 | select.options[i].disabled = true; |
|
14 | select.options[i].disabled = true; | |
15 |
} |
|
15 | } | |
16 | } |
|
16 | } | |
17 | } |
|
17 | } | |
18 |
|
18 | |||
@@ -116,7 +116,7 Event.observe(document,"dom:loaded", apply_filters_observer); | |||||
116 | <td class="operator"> |
|
116 | <td class="operator"> | |
117 | <%= select_tag "op[#{field}]", options_for_select(operators_for_select(options[:type]), query.operator_for(field)), :id => "operators_#{field}", :onchange => "toggle_operator('#{field}');" %> |
|
117 | <%= select_tag "op[#{field}]", options_for_select(operators_for_select(options[:type]), query.operator_for(field)), :id => "operators_#{field}", :onchange => "toggle_operator('#{field}');" %> | |
118 | </td> |
|
118 | </td> | |
119 |
<td class="values"> |
|
119 | <td class="values"> | |
120 | <div id="div_values_<%= field %>" style="display:none;"> |
|
120 | <div id="div_values_<%= field %>" style="display:none;"> | |
121 | <% case options[:type] |
|
121 | <% case options[:type] | |
122 | when :list, :list_optional, :list_status, :list_subprojects %> |
|
122 | when :list, :list_optional, :list_status, :list_subprojects %> |
General Comments 0
You need to be logged in to leave comments.
Login now