gitlabhq/app/views/keys/new.js.haml
Dmitriy Zaporozhets d378468794 v1.0
2011-10-13 04:00:00 +03:00

12 lines
341 B
Plaintext

: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
});