Redmine 3.4.4
This commit is contained in:
commit
64924a6376
2112 changed files with 259028 additions and 0 deletions
4
app/views/sudo_mode/new.js.erb
Normal file
4
app/views/sudo_mode/new.js.erb
Normal file
|
@ -0,0 +1,4 @@
|
|||
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();
|
Loading…
Add table
Add a link
Reference in a new issue