Commit 933b92a2 by Dányi Bence

webui: fix default name

parent 26a04c48
......@@ -47,7 +47,7 @@ $(function() {
var id = $(this).data('id');
var oldName = $(this).data('name');
$('#vm-' + id + '-name-details').hide();
$('#vm-' + id + '-name').html('<input type="text" value="' + name + '" />\
$('#vm-' + id + '-name').html('<input type="text" value="' + oldName + '" />\
<input type="submit" value="' + gettext('Rename') + '" />');
$('#vm-' + id + '-name').find('input[type="text"]').click(function(f) {
f.preventDefault();
......
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 sign in to comment