A jQuery bug in the administrator/components/com_virtuemart/helpers/config.php

Started by liatoss, September 14, 2011, 22:28:49 PM

Previous topic - Next topic

liatoss

Just faced with the problem that working functionality stop working as soon as add VM component/module on the page. After investigation, I reilize that VM loads jQuery from googleapis.com but it appears in the page as follows: <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script> As you can see, there is no http prefix for the url, so I assumed that because of that it doesn't work aтв I fixed the bug in the files as it mentioned in the subject, lines 469, 470.                                                                                                                                                                                                                                                                                                                 Hope it can help somebody too.
Thank you, Vlad (from Liatoss Sarl at www dot liatoss dot com).

Studio 42

Hi,
Quote from: liatoss on September 14, 2011, 22:28:49 PM
Just faced with the problem that working functionality stop working as soon as add VM component/module on the page. After investigation, I reilize that VM loads jQuery from googleapis.com but it appears in the page as follows: <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script> As you can see, there is no http prefix for the url, so I assumed that because of that it doesn't work aтв I fixed the bug in the files as it mentioned in the subject, lines 469, 470.                                                                                                                                                                                                                                                                                                                 Hope it can help somebody too.
this is not  a mistake, and have to work
See http://encosia.com/3-reasons-why-you-should-let-google-host-jquery-for-you/ for eg.

Patrick