Commit 66329dac by Kálmán Viktor

dashboard: don't parse html tags in rename

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