From 1c6e139edc1ddb2ea4ffb2a09d17984e05552a38 Mon Sep 17 00:00:00 2001 From: vkaracic Date: Fri, 24 Jul 2015 08:17:57 +0000 Subject: [PATCH] TNL-394: Fixed the confirmation message --- lms/static/js/staff_debug_actions.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lms/static/js/staff_debug_actions.js b/lms/static/js/staff_debug_actions.js index 35ce0a4048..00bf102892 100644 --- a/lms/static/js/staff_debug_actions.js +++ b/lms/static/js/staff_debug_actions.js @@ -45,7 +45,7 @@ var StaffDebug = (function(){ {text: text}, {interpolate: /\{(.+?)\}/g} ) - $("#result_"+action.locationName).html(html); + $("#result_"+sanitized_string(action.locationName)).html(html); }, error: function(request, status, error) { var response_json; @@ -67,7 +67,7 @@ var StaffDebug = (function(){ {text: text}, {interpolate: /\{(.+?)\}/g} ) - $("#result_"+action.locationName).html(html); + $("#result_"+sanitized_string(action.locationName)).html(html); }, dataType: 'json' });