~ubuntu-branches/ubuntu/trusty/phpmyadmin/trusty

« back to all changes in this revision

Viewing changes to js/tbl_structure.js

  • Committer: Package Import Robot
  • Author(s): Thijs Kinkhorst
  • Date: 2013-10-07 20:18:01 UTC
  • mfrom: (1.2.46)
  • Revision ID: package-import@ubuntu.com-20131007201801-l5l0ril5992p8sxz
Tags: 4:4.0.8-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
                        .append(data.sql_query)
68
68
                        .show();
69
69
                    $("#result_query .notice").remove();
 
70
                    reloadFieldForm();
70
71
                    $form.remove();
71
72
                    PMA_ajaxRemoveMessage($msg);
72
73
                    PMA_reloadNavigation();
353
354
/**
354
355
 * Reload fields table
355
356
 */
356
 
function reloadFieldForm(message) {
 
357
function reloadFieldForm() {
357
358
    $.post($("#fieldsForm").attr('action'), $("#fieldsForm").serialize()+"&ajax_request=true", function(form_data) {
358
359
        var $temp_div = $("<div id='temp_div'><div>").append(form_data.message);
359
360
        $("#fieldsForm").replaceWith($temp_div.find("#fieldsForm"));
362
363
        $("#moveColumns").removeClass("move-active");
363
364
        /* reinitialise the more options in table */
364
365
        $('#fieldsForm ul.table-structure-actions').menuResizer(PMA_tbl_structure_menu_resizer_callback);
365
 
        setTimeout(function() {
366
 
            PMA_ajaxShowMessage(message);
367
 
        }, 500);
368
366
    });
369
367
    $('#page_content').show();
370
368
}