[Vtigercrm-developers] Need a Javascript cluebat...

Alan Lord alanslists at gmail.com
Fri Mar 28 12:16:41 GMT 2014


On 28/03/14 11:27, Alan Lord wrote:
> What I could really do with doing is to override a couple of functions
> in resources/app.js when the GeoTools page loads.

More by luck than judgement I think, but the following seems to be 
working properly:

> app.prototype = app;
> app.prototype.getModuleName = function() {
> 		return jQuery('#embedModule').val();
> };
> app.prototype.getViewName = function() {
> 	return jQuery('#embedView').val();
> };

If anyone would/could care to explain what/why this is working I'd love 
to know ;-)

Cheers

Al




More information about the vtigercrm-developers mailing list