diff options
author | Sergi L <sergi_linares@outlook.com> | 2019-10-18 00:18:22 +0300 |
---|---|---|
committer | William Desportes <williamdes@wdes.fr> | 2019-10-18 00:21:24 +0300 |
commit | 602cf50e52c567d34728c358715a41a52444187e (patch) | |
tree | 8f138ff820a5bc39182ec4acd01b3bf89c5bb03a /js | |
parent | e95a73ea081197b7ace7636b7f0a79732d51fd22 (diff) |
Text-area-overflows-parent-element
Signed-off-by: Sergi Linares <sergi_linares@outlook.com>
Diffstat (limited to 'js')
-rw-r--r-- | js/db_qbe.js | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/js/db_qbe.js b/js/db_qbe.js index f2b9307c39..7c5f50ac3c 100644 --- a/js/db_qbe.js +++ b/js/db_qbe.js @@ -28,7 +28,15 @@ AJAX.registerTeardown('db_qbe.js', function () { }); AJAX.registerOnload('db_qbe.js', function () { - PMA_getSQLEditor($('#textSqlquery'), {}, 'both'); + PMA_getSQLEditor($('#textSqlquery'), {}, 'none'); + + $('#tblQbe').width($('#tblQbe').parent().width()); + $('#tblQbeFooters').width($('#tblQbeFooters').parent().width()); + $('#tblQbe').resize(function () { + var newWidthTblQbe = $('#textSqlquery').next().width(); + $('#tblQbe').width(newWidthTblQbe); + $('#tblQbeFooters').width(newWidthTblQbe); + }); /** * Ajax handler to check the corresponding 'show' checkbox when column is selected |