diff options
author | Thilanka Kaushalya <lgtkaushalya@gmail.com> | 2011-07-21 22:23:37 +0400 |
---|---|---|
committer | Thilanka Kaushalya <lgtkaushalya@gmail.com> | 2011-07-21 22:23:37 +0400 |
commit | 3a2d3e3c4eab717140526ca8ba5e6a234244c7d5 (patch) | |
tree | 9f0ef91b3d6c30c63e74b280bdb68147cdc81352 /tbl_addfield.php | |
parent | 788fb45a1d6c70d52e8b627023bf01de34a22a4d (diff) |
Ajaxified add columns option in table structure
Diffstat (limited to 'tbl_addfield.php')
-rw-r--r-- | tbl_addfield.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tbl_addfield.php b/tbl_addfield.php index ec910fdf4b..a866fef7a9 100644 --- a/tbl_addfield.php +++ b/tbl_addfield.php @@ -184,6 +184,12 @@ if (isset($_REQUEST['do_save_data'])) { // Go back to the structure sub-page $message = PMA_Message::success(__('Table %1$s has been altered successfully')); $message->addParam($table); + + if( $GLOBALS['is_ajax_request'] == true) { + $extra_data['sql_query'] = PMA_showMessage(NULL, $sql_query); + PMA_ajaxResponse($message, $message->isSuccess(),$extra_data); + } + $active_page = 'tbl_structure.php'; require './tbl_structure.php'; } else { |