Commit e6c9e1bd by Vedran Karačić

Merge pull request #9037 from edx/vkaracic/TNL-394-confirmation-msg

TNL-394: Fixed the confirmation message
parents e6cba609 1c6e139e
...@@ -45,7 +45,7 @@ var StaffDebug = (function(){ ...@@ -45,7 +45,7 @@ var StaffDebug = (function(){
{text: text}, {text: text},
{interpolate: /\{(.+?)\}/g} {interpolate: /\{(.+?)\}/g}
) )
$("#result_"+action.locationName).html(html); $("#result_"+sanitized_string(action.locationName)).html(html);
}, },
error: function(request, status, error) { error: function(request, status, error) {
var response_json; var response_json;
...@@ -67,7 +67,7 @@ var StaffDebug = (function(){ ...@@ -67,7 +67,7 @@ var StaffDebug = (function(){
{text: text}, {text: text},
{interpolate: /\{(.+?)\}/g} {interpolate: /\{(.+?)\}/g}
) )
$("#result_"+action.locationName).html(html); $("#result_"+sanitized_string(action.locationName)).html(html);
}, },
dataType: 'json' dataType: 'json'
}); });
......
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 to comment