##// END OF EJS Templates
Keep the "new object" drop down open when the + sign was clicked (#15880)....
Keep the "new object" drop down open when the + sign was clicked (#15880). For touch displays where :hover does not exist. Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15504 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r13964:59c9a071a844
r15122:3da6062d7eb5
Show More
_new_modal.html.erb
18 lines | 664 B | text/plain | TextLexer
<h3 class="title"><%= l(:label_password_required) %></h3>
<%= form_tag({}, remote: true) do %>
<%= hidden_field_tag '_method', request.request_method %>
<%= hash_to_hidden_fields @sudo_form.original_fields %>
<%= render_flash_messages %>
<div class="box tabular">
<p>
<label for="sudo_password"><%= l :field_password %><span class="required">*</span></label>
<%= password_field_tag :sudo_password, nil, size: 25 %>
</p>
</div>
<p class="buttons">
<%= submit_tag l(:button_submit), onclick: "hideModal(this);" %>
<%= submit_tag l(:button_cancel), name: nil, onclick: "hideModal(this);", type: 'button' %>
</p>
<% end %>