mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
bug #3389: % symbol in Template description causes an error in Sunstone
(cherry picked from commit 49ea702ffe8c031f37ff3c24bf805d86661bfaf3)
This commit is contained in:
parent
b0f37b34a7
commit
f003bc2e5a
@ -344,6 +344,7 @@ var OpenNebula = {
|
||||
type: "POST",
|
||||
dataType: "json",
|
||||
data: JSON.stringify(data),
|
||||
contentType: "application/json; charset=utf-8",
|
||||
success: function(response){
|
||||
OpenNebula.Helper.clear_cache(cache_name);
|
||||
|
||||
@ -576,6 +577,7 @@ var OpenNebula = {
|
||||
$.ajax({
|
||||
url: req_path + "/" + id + "/action",
|
||||
type: "POST",
|
||||
contentType: "application/json; charset=utf-8",
|
||||
data: JSON.stringify(action),
|
||||
success: function(){
|
||||
OpenNebula.Helper.clear_cache(cache_name);
|
||||
@ -1865,6 +1867,7 @@ var OpenNebula = {
|
||||
url: OpenNebula.Role.path + "/" + params.data.id,
|
||||
type: "PUT",
|
||||
dataType: "json",
|
||||
contentType: "application/json; charset=utf-8",
|
||||
data: JSON.stringify(params.data.extra_param),
|
||||
success: function(response){
|
||||
return params.success ? params.success(request, response) : null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user