Commit d4845aea by Dányi Bence

webui: html disallowed in name (server side validation needed, too)

parent 3d21cb44
...@@ -64,7 +64,7 @@ $(function() { ...@@ -64,7 +64,7 @@ $(function() {
url: '/ajax/vm/rename/' + id + '/', url: '/ajax/vm/rename/' + id + '/',
success: function(data) { success: function(data) {
$('#vm-' + id + '-name-details').removeAttr('style'); $('#vm-' + id + '-name-details').removeAttr('style');
$('#vm-' + id + '-name').html(data.name); $('#vm-' + id + '-name').text(data.name);
} }
}); });
}) })
......
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