Commit 66329dac by Kálmán Viktor

dashboard: don't parse html tags in rename

parent 77cb1b9c
......@@ -47,7 +47,7 @@ $(function() {
data: {'new_name': name},
headers: {"X-CSRFToken": getCookie('csrftoken')},
success: function(data, textStatus, xhr) {
$("#vm-details-h1-name").html(data['new_name']).show();
$("#vm-details-h1-name").text(data['new_name']).show();
$('#vm-details-rename').hide();
// addMessage(data['message'], "success");
},
......
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