Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAtul Pratap Singh <atulpratapsingh05@gmail.com>2013-10-01 14:46:34 +0400
committerAtul Pratap Singh <atulpratapsingh05@gmail.com>2013-10-01 14:46:34 +0400
commit38d92b7875afba17c1434a737c6430aafd9fd108 (patch)
tree56ea1b06a7552d30be5b78e4258ade1d144f20ca /js/tbl_structure.js
parent73f4d166db6354552b9a089d4566cc5b893a6a71 (diff)
Fix bug 4105: More disappears in table Structure
Diffstat (limited to 'js/tbl_structure.js')
-rw-r--r--js/tbl_structure.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/js/tbl_structure.js b/js/tbl_structure.js
index 0f05b73574..08481b72ae 100644
--- a/js/tbl_structure.js
+++ b/js/tbl_structure.js
@@ -53,7 +53,7 @@ function PMA_tbl_structure_menu_resizer_callback() {
/**
* Reload fields table
*/
-function reloadFieldForm(message) {
+function reloadFieldForm() {
$.post($("#fieldsForm").attr('action'), $("#fieldsForm").serialize() + "&ajax_request=true", function (form_data) {
var $temp_div = $("<div id='temp_div'><div>").append(form_data.message);
$("#fieldsForm").replaceWith($temp_div.find("#fieldsForm"));
@@ -62,9 +62,6 @@ function reloadFieldForm(message) {
$("#moveColumns").removeClass("move-active");
/* reinitialise the more options in table */
$('#fieldsForm ul.table-structure-actions').menuResizer(PMA_tbl_structure_menu_resizer_callback);
- setTimeout(function () {
- PMA_ajaxShowMessage(message);
- }, 500);
});
$('#page_content').show();
}
@@ -119,6 +116,7 @@ AJAX.registerOnload('tbl_structure.js', function () {
.show();
PMA_highlightSQL($('#page_content'));
$("#result_query .notice").remove();
+ reloadFieldForm();
$form.remove();
PMA_ajaxRemoveMessage($msg);
PMA_reloadNavigation();