Skip to content

Commit

Permalink
Merge #15451 - Designer export fails when a table name contains speci…
Browse files Browse the repository at this point in the history
…al chars

Signed-off-by: William Desportes <williamdes@wdes.fr>
  • Loading branch information
williamdes committed Aug 22, 2019
2 parents 3aa7a35 + 67c94b1 commit 4f83266
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions js/designer/move.js
Original file line number Diff line number Diff line change
Expand Up @@ -662,10 +662,10 @@ function Get_url_pos (forceString) {
var poststr = '';
var argsep = PMA_commonParams.get('arg_separator');
for (var key in j_tabs) {
poststr += argsep + 't_x[' + key + ']=' + parseInt(document.getElementById(key).style.left, 10);
poststr += argsep + 't_y[' + key + ']=' + parseInt(document.getElementById(key).style.top, 10);
poststr += argsep + 't_v[' + key + ']=' + (document.getElementById('id_tbody_' + key).style.display === 'none' ? 0 : 1);
poststr += argsep + 't_h[' + key + ']=' + (document.getElementById('check_vis_' + key).checked ? 1 : 0);
poststr += argsep + 't_x[' + decodeURIComponent(key) + ']=' + parseInt(document.getElementById(key).style.left, 10);
poststr += argsep + 't_y[' + decodeURIComponent(key) + ']=' + parseInt(document.getElementById(key).style.top, 10);
poststr += argsep + 't_v[' + decodeURIComponent(key) + ']=' + (document.getElementById('id_tbody_' + key).style.display === 'none' ? 0 : 1);
poststr += argsep + 't_h[' + decodeURIComponent(key) + ']=' + (document.getElementById('check_vis_' + key).checked ? 1 : 0);
}
return poststr;
} else {
Expand Down

0 comments on commit 4f83266

Please sign in to comment.