[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_7_1-23439-gf22a457

Rouslan Placella roccivic at users.sourceforge.net
Thu Nov 24 17:44:55 CET 2011


The branch, master has been updated
       via  f22a4571998df392e2a5d6817f04fe02da1b111a (commit)
      from  f6d0aa3873907d577b883cb7a4c417153820bb2d (commit)


- Log -----------------------------------------------------------------
commit f22a4571998df392e2a5d6817f04fe02da1b111a
Author: Rouslan Placella <rouslan at placella.com>
Date:   Thu Nov 24 16:44:21 2011 +0000

    Removed redundant code. Already using 'onclick' since commit 0c2f7f16f52cd0e37687fac063ad36678657b070

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

Summary of changes:
 js/pmd/move.js |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)

diff --git a/js/pmd/move.js b/js/pmd/move.js
index e7e5439..df692fd 100644
--- a/js/pmd/move.js
+++ b/js/pmd/move.js
@@ -11,23 +11,6 @@
  var _change = 0; // variable to track any change in designer layout.
  var _staying = 0; //  variable to check if the user stayed after seeing the confirmation prompt.
 
-//   Below is the function to change the href attributes to '#' while the href script is called using
-//   the onclick event. It fixes the Internet Explorer issue with href.
-
- $(document).ready(function(){
-    $('a').filter(function(){
-        return ( /^javascript\:/i).test($(this).attr('href'));
-    }).each(function(){
-        var hrefscript = $(this).attr('href');
-        hrefscript = hrefscript.substr(11);
-        $(this).data('hrefscript', hrefscript);
-    }).click(function(){
-        var hrefscript = $(this).data('hrefscript');
-        eval (hrefscript);
-        return false;
-    }).attr('href', '#');
-});
-
 // Below is the function to bind onbeforeunload events with the content_frame as well as the top window.
 
  $(document).ready(function(){


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list