From 258d381083426a07215115f95fe3bd05604e0a4d Mon Sep 17 00:00:00 2001 From: Vincent Augagneur Date: Tue, 20 Aug 2013 11:11:21 +0200 Subject: [PATCH] [-] BO fixed bug #PSCFV-9663 - .live() method is deprecated on 1.7 jquery and it is not present into the 1.9 --- classes/Media.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/classes/Media.php b/classes/Media.php index eb73c8232..cbb416d0f 100755 --- a/classes/Media.php +++ b/classes/Media.php @@ -270,7 +270,10 @@ class MediaCore if ($add_no_conflict) $return[] = Media::getJSPath(_PS_JS_DIR_.'jquery/jquery.noConflict.php?version='.$version); - + + //added query migrate for compatibility with new version of jquery will be removed in ps 1.6 + $return[] = Media::getJSPath(_PS_JS_DIR_.'jquery/jquery-migrate-1.2.1.js'); + return $return; }