##// END OF EJS Templates
Add view for "no preview" repository files (#22482)....
Add view for "no preview" repository files (#22482). Patch by Gregor Schmidt. git-svn-id: http://svn.redmine.org/redmine/trunk@15397 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r13959:a890215b51dc
r15015:3d2c198c0f88
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();