The branch, master has been updated
       via  554c1df307b47516dc0249fc75bdec2ad5c5e5a1 (commit)
      from  eef315c6354950687004007f66e8982c90836c4d (commit)


- Log -----------------------------------------------------------------
commit 554c1df307b47516dc0249fc75bdec2ad5c5e5a1
Author: Marc Delisle <[email protected]>
Date:   Sun Oct 9 06:45:32 2011 -0400

    Increase the size of the Create table dialog, based on the frame size

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

Summary of changes:
 js/functions.js |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/js/functions.js b/js/functions.js
index b8db515..9d14eec 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -1491,6 +1491,12 @@ function PMA_createTableDialog( div, url , target)
      button_options_error[PMA_messages['strOK']] = function() 
{$(this).parent().dialog('close').remove();}
 
      var $msgbox = PMA_ajaxShowMessage();
+     /*
+      * Use a little less than the current value, otherwise there is some 
+      * overlap; 16 is a value found by experimenting
+      */
+     var current_width = $(top.frame_content).width() - 16;
+     var current_height = $(top.frame_content).height() - 16;
 
      $.get( target , url ,  function(data) {
          //in the case of an error, show the error message returned.
@@ -1511,8 +1517,8 @@ function PMA_createTableDialog( div, url , target)
              .append(data)
              .dialog({
                  title: PMA_messages['strCreateTable'],
-                 height: 600,
-                 width: 900,
+                 height: current_height,
+                 width: current_width,
                  open: PMA_verifyTypeOfAllColumns,
                  buttons : button_options
              }); // end dialog options


hooks/post-receive
-- 
phpMyAdmin

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Phpmyadmin-git mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-git

Reply via email to