[Vtigercrm-developers] VT6 checkAndConvertJsScripts()

Alan Lord alanslists at gmail.com
Thu Oct 24 09:34:48 GMT 2013


How am I supposed to insert a reference to a hosted (cdn) js file?

I am trying to insert a couple of files, e.g.

$jsFileNames = array(
	'http://maps.googleapis.com/maps/api/js?sensor=false', // Not OK
	"modules.$moduleName.resources.geotools", // OK
);

The checkAndConvertJsScripts() function doesn't support absolute paths.

Cheers

Al



More information about the vtigercrm-developers mailing list