##// END OF EJS Templates
Fixed the sudo dialog when called from a dialog, eg. email addresses (#19851)....
Fixed the sudo dialog when called from a dialog, eg. email addresses (#19851). git-svn-id: http://svn.redmine.org/redmine/trunk@14339 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r13957:f11bba5537b1
r13957:f11bba5537b1
Show More
new.js.erb
4 lines | 209 B | text/plain | TextLexer
$("body").append($("<div>", {id: "sudo-modal"}).hide());
$('#sudo-modal').html('<%= escape_javascript render partial: 'sudo_mode/new_modal' %>');
showModal('sudo-modal', '400px');
$('#sudo_password').focus();