gitlabhq/app/views/deploy_keys/new.js.haml

12 lines
341 B
Plaintext
Raw Normal View History

2011-12-29 20:44:16 +01:00
:plain
var new_key_dialog = $("<div id='new_key_dialog'></div>");
new_key_dialog.html("#{escape_javascript(render('form'))}");
$(new_key_dialog).dialog({
width: 350,
resizable: false,
draggable: false,
title: "Add new public key",
close: function(event, ui) { $("#new_key_dialog").remove();},
modal: true
});