[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_7_1-23464-g301f8d9

Marc Delisle lem9 at users.sourceforge.net
Sun Nov 27 13:38:18 CET 2011


The branch, master has been updated
       via  301f8d981a817741a29514e4757b95ab342d279c (commit)
      from  3c4e231867e0ea547ad7447696bbf253a64f2899 (commit)


- Log -----------------------------------------------------------------
commit 301f8d981a817741a29514e4757b95ab342d279c
Author: Marc Delisle <marc at infomarc.info>
Date:   Sun Nov 27 07:37:43 2011 -0500

    Move the Cancel button next to the Save button

-----------------------------------------------------------------------

Summary of changes:
 js/functions.js |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/js/functions.js b/js/functions.js
index 2081ffc..6e92047 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -1559,6 +1559,13 @@ function PMA_createTableDialog( $div, url , target)
                          });
 
                      PMA_verifyColumnsProperties();
+
+                     // move the Cancel button next to the Save button
+                     var $button_pane = $('.ui-dialog-buttonpane');
+                     var $cancel_button = $button_pane.find('.ui-button');
+                     var $save_button  = $('#create_table_form').find("input[name='do_save_data']");
+                     $cancel_button.insertAfter($save_button);
+                     $button_pane.hide();
                  },
                  close: function() {
                      $(window).unbind('resize.dialog-resizer');


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list