[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_6RC1-20786-g9d0c410

Piotr Przybylski crackpl at users.sourceforge.net
Tue Oct 11 02:08:32 CEST 2011


The branch, master has been updated
       via  9d0c410b3667b65438b0cc07c224f2cf0fde24f6 (commit)
      from  021e0225cc9c0eca1b1e2f2cfc0e763c1a912140 (commit)


- Log -----------------------------------------------------------------
commit 9d0c410b3667b65438b0cc07c224f2cf0fde24f6
Author: Piotr Przybylski <piotrprz at gmail.com>
Date:   Tue Oct 11 02:08:09 2011 +0200

    New create table dialog: fix resize event

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

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

diff --git a/js/functions.js b/js/functions.js
index e8b869d..ce2dac6 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -1521,11 +1521,12 @@ function PMA_createTableDialog( div, url , target)
                  position: ['left','top'],
                  width: window.innerWidth-10,
                  height: window.innerHeight-10,
-                 open: function(event) {
+                 open: function() {
+                     var $dialog = $(this);
                      $(window).bind('resize.dialog-resizer', function() {
                          clearTimeout(timeout);
                          timeout = setTimeout(function() {
-                             $(this).dialog('option', {
+                             $dialog.dialog('option', {
                                  width: window.innerWidth-10,
                                  height: window.innerHeight-10
                              });


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list