From e53afc3ef92d0cbc1498bd3bbea3906dfc6100d5 Mon Sep 17 00:00:00 2001 From: vyeshwanth Date: Thu, 22 Mar 2018 17:29:20 +0530 Subject: [PATCH] Designer: Improperly escaped code in "Add option" dialog #14109 issue fix Signed-off-by: Yeshwanth Vuppu --- js/designer/move.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/designer/move.js b/js/designer/move.js index c2226ce27a..f1fd25e8f9 100644 --- a/js/designer/move.js +++ b/js/designer/move.js @@ -1734,7 +1734,7 @@ function Click_option (id_this, column_name, table_name) { // var top = Glob_Y - document.getElementById(id_this).offsetHeight - 10; document.getElementById(id_this).style.top = (screen.height / 4) + 'px'; document.getElementById(id_this).style.display = 'block'; - document.getElementById('option_col_name').innerHTML = '' + PMA_sprintf(PMA_messages.strAddOption, column_name) + ''; + document.getElementById('option_col_name').innerHTML = '' + PMA_sprintf(PMA_messages.strAddOption, decodeURI(column_name)) + ''; col_name = column_name; tab_name = table_name; }