From 035c112eafeb57201c63f0b94d7485d41762922f Mon Sep 17 00:00:00 2001 From: Rouslan Placella Date: Wed, 23 Nov 2011 21:39:10 +0000 Subject: [PATCH] Fixed bug #3441572 - 'newer version of phpMyAdmin' message not shown in IE8 --- ChangeLog | 1 + js/functions.js | 10 +--------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index c4817ff03..031c880f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -19,6 +19,7 @@ phpMyAdmin - ChangeLog - bug #3439292 [core] Fail to synchronize column with name of keyword - bug #3425156 [interface] Add column after drop - [interface] Avoid showing the password in phpinfo()'s output +- bug #3441572 [GUI] 'newer version of phpMyAdmin' message not shown in IE8 3.4.7.1 (2011-11-10) - [security] Fixed possible local file inclusion in XML import diff --git a/js/functions.js b/js/functions.js index 8431b2a98..824c1743c 100644 --- a/js/functions.js +++ b/js/functions.js @@ -2273,15 +2273,7 @@ $(document).ready(function() { * Load version information asynchronously. */ if ($('.jsversioncheck').length > 0) { - (function() { - var s = document.createElement('script'); - s.type = 'text/javascript'; - s.async = true; - s.src = 'http://www.phpmyadmin.net/home_page/version.js'; - s.onload = PMA_current_version; - var x = document.getElementsByTagName('script')[0]; - x.parentNode.insertBefore(s, x); - })(); + $.getScript('http://www.phpmyadmin.net/home_page/version.js', PMA_current_version); } /**