From de365e90bf57cbca829b9fef270999204c484f51 Mon Sep 17 00:00:00 2001 From: Saksham Gupta Date: Thu, 22 Feb 2018 03:46:55 +0530 Subject: [PATCH] Fix Broken Designer Add Table Fixes: https://github.com/phpmyadmin/phpmyadmin/issues/14034 Signed-off-by: Saksham Gupta --- js/pmd/move.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/pmd/move.js b/js/pmd/move.js index e638f6ab4f..73c9c98002 100644 --- a/js/pmd/move.js +++ b/js/pmd/move.js @@ -563,7 +563,7 @@ function Add_Other_db_tables () { 'db' : db, 'table' : table }, function (data) { - $new_table_dom = $(data.message.substring(98)); + $new_table_dom = $(data.message); $new_table_dom.find('a').first().remove(); $('#container-form').append($new_table_dom); $('.pmd_tab').on('click','.tab_field_2,.tab_field_3,.tab_field', function () {