[Vtigercrm-developers] Extend jQuery.Class("Vtiger_Detail_Js"

Conrado Maggi comaggi at gmail.com
Mon Nov 17 11:33:53 GMT 2014


Thanks Uma.

It's working now.
El 17/11/2014 06:31, "Uma S" <uma.s at vtiger.com> escribió:

> Hi,
>
> For example on extending jQuery classes.
>
> You can refer to Detail.js
> (layouts/vlayoutmodules/Contacts/resources/Detail.js) of contacts module.
> Where we are extending Vtiger Detail.js class. where in
> registerRecordPreSaveEvent() api is written specific to contacts module.
>
> To use parent class common api's calling this._super() api
> in registerEvents api() of class.
>
> On Sun, Nov 16, 2014 at 8:56 PM, Conrado Maggi <comaggi at gmail.com> wrote:
>
>> Hello,
>>
>> I'm trying to extend a Detail Js method from the custom module. I need to
>> add a new method for contact module with out hacking the Contacts Details Js
>>
>> Is there a way to extend the Detail JS from a header script?
>>
>> Thanks,
>> Conrado
>>
>> _______________________________________________
>> http://www.vtiger.com/
>>
>
>
>
> --
> With
> Best Regards
> Uma.S
> Vtiger Team
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20141117/e0ca9758/attachment.html>


More information about the vtigercrm-developers mailing list