Commit f651e90b authored by jplang's avatar jplang

Fixed wrong password rendering broken by r14339 (#19851).

git-svn-id: https://svn.redmine.org/redmine/trunk@14341 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 2ce690d2
$("body").append($("<div>", {id: "sudo-modal"}).hide());
$('#sudo-modal').html('<%= escape_javascript render partial: 'sudo_mode/new_modal' %>');
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();
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment