git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.2-stable@11363
e93f8b46-1217-0410-a6f0-
8f06a7374b81
<li><%= bulk_update_custom_field_context_menu_link(field, text, value || text) %></li>
<% end %>
<% unless field.is_required? %>
- <li><%= bulk_update_custom_field_context_menu_link(field, l(:label_none), '') %></li>
+ <li><%= bulk_update_custom_field_context_menu_link(field, l(:label_none), '__none__') %></li>
<% end %>
</ul>
</li>
:attributes => {:href => "/issues/bulk_update?ids%5B%5D=1&issue%5Bcustom_field_values%5D%5B#{field.id}%5D=Foo"}
assert_tag 'a',
:content => 'none',
- :attributes => {:href => "/issues/bulk_update?ids%5B%5D=1&issue%5Bcustom_field_values%5D%5B#{field.id}%5D="}
+ :attributes => {:href => "/issues/bulk_update?ids%5B%5D=1&issue%5Bcustom_field_values%5D%5B#{field.id}%5D=__none__"}
end
def test_context_menu_should_not_include_null_value_for_required_custom_fields