Merge pull request #14113 from vyeshwanth/PMA_14109

Designer: Improperly escaped code in "Add option" dialog #14109 issue fix
Fix #14109
This commit is contained in:
Maurício Meneghini Fauth 2018-03-30 17:15:03 -03:00 committed by GitHub
commit 80f2043b33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}