From 367c863e3a5f8bf5b1f02f299409f6032cede07b Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Wed, 23 Nov 2011 22:54:43 +0000 Subject: [PATCH] // git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10632 b9a71923-0436-4b27-9f14-aed3839534dd --- js/retro-compat.js.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/retro-compat.js.php b/js/retro-compat.js.php index 03a91e05f..e0af24935 100755 --- a/js/retro-compat.js.php +++ b/js/retro-compat.js.php @@ -73,14 +73,14 @@ if (!array_key_exists($file, $plugins)) //check if file is a real prestashop nat else if ($file == 'jquery-ui-1.8.10.custom.min.js') //jquery-ui cannot be call directly, now to include query UI, use Media::addJqueryUI('component_name'); { $html = '$(document).ready( function () { - '.(_PS_MODE_DEV_ ? 'console.log(\'MODE DEV : This file : "jquery-ui-1.8.10.custom.min.js" cannot be call directly please use Media::addJqueryUI("component_name") \')' : '').' + '.(_PS_MODE_DEV_ ? 'if (!$.browser.msie)console.log(\'MODE DEV : This file : "jquery-ui-1.8.10.custom.min.js" cannot be call directly please use Media::addJqueryUI("component_name") \')' : '').' });'; $html .= file_get_contents($plugins[$file]['new_file']); } else { $html = '$(document).ready( function () { - '.(_PS_MODE_DEV_ ? 'console.log(\'MODE DEV : This file : "'.$file.'" has been moved to this folder '.$plugins[$file]['new_file'].' To include this plugin use Media::addJqueryPlugin("'.$plugins[$file]['name'].'")\')' : '').' + '.(_PS_MODE_DEV_ ? 'if (!$.browser.msie)console.log(\'MODE DEV : This file : "'.$file.'" has been moved to this folder '.$plugins[$file]['new_file'].' To include this plugin use Media::addJqueryPlugin("'.$plugins[$file]['name'].'")\')' : '').' });'; $html .= file_get_contents($plugins[$file]['new_file']); }