X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=planetstack%2Fcore%2Fxoslib%2Fstatic%2Fjs%2Fxoslib%2FxosHelper.js;h=384a7ede437878977d497bfe61367df4f4ab290f;hb=dee21fb114a2ece37982e47d7b304b92c109cdd6;hp=7392843e32df088cafdbd051025e757d5ab47eae;hpb=058ff324def456d1e4f2d85069b91f6cfc1108eb;p=plstackapi.git diff --git a/planetstack/core/xoslib/static/js/xoslib/xosHelper.js b/planetstack/core/xoslib/static/js/xoslib/xosHelper.js index 7392843..384a7ed 100644 --- a/planetstack/core/xoslib/static/js/xoslib/xosHelper.js +++ b/planetstack/core/xoslib/static/js/xoslib/xosHelper.js @@ -150,7 +150,7 @@ XOSApplication = Marionette.Application.extend({ if (parsed_error) { $("#xos-error-dialog").html(templateFromId("#xos-error-response")(parsed_error)); } else { - $("#xos-error-dialog").html(templateFromId("#xos-error-rawresponse")({responseText: responseText})) + $("#xos-error-dialog").html(templateFromId("#xos-error-rawresponse")({responseText: strip_scripts(responseText)})) } $("#xos-error-dialog").dialog({