##// 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:

r13959:a890215b51dc
r15122:3da6062d7eb5
Show More
new.js.erb
4 lines | 267 B | text/plain | TextLexer
var sudo_modal = $('#sudo-modal').length ? $('#sudo-modal') : $("<div>", {id: "sudo-modal"}).appendTo($("body"));
sudo_modal.hide().html('<%= escape_javascript render partial: 'sudo_mode/new_modal' %>');
showModal('sudo-modal', '400px');
$('#sudo_password').focus();