Skip to content

Commit

Permalink
Designer: Improperly escaped code in "Add option" dialog #14109 issue…
Browse files Browse the repository at this point in the history
… fix

Signed-off-by: Yeshwanth Vuppu <vyeshwanth123@gmail.com>
  • Loading branch information
vyeshwanth committed Mar 30, 2018
1 parent cec81ae commit e53afc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/designer/move.js
Expand Up @@ -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 = '<strong>' + PMA_sprintf(PMA_messages.strAddOption, column_name) + '</strong>';
document.getElementById('option_col_name').innerHTML = '<strong>' + PMA_sprintf(PMA_messages.strAddOption, decodeURI(column_name)) + '</strong>';
col_name = column_name;
tab_name = table_name;
}
Expand Down

0 comments on commit e53afc3

Please sign in to comment.