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

Uma S uma.s at vtiger.com
Mon Nov 17 12:11:21 GMT 2014


Welcome :)

On Mon, Nov 17, 2014 at 5:03 PM, Conrado Maggi <comaggi at gmail.com> wrote:

> 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/
>>
>
> _______________________________________________
> http://www.vtiger.com/
>



-- 
With
Best Regards
Uma.S
Vtiger Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20141117/5340f987/attachment.html>


More information about the vtigercrm-developers mailing list