[Vtigercrm-developers] Doble click to edit - detail view

Tony Sandman tonysandman999 at gmail.com
Thu May 26 14:49:55 GMT 2022


Thanks for the snippet.

Al, Keyboard junkie already in place, used in different scenario

Best!

On Thu, May 26, 2022 at 8:23 PM Tom Brown <support at vtexperts.com> wrote:

> Here's one way of doing it:
>
> File: layouts/v7/modules/Vtiger/resources/Detail.js
> Add that right above "detailContentsHolder.on('click','.saveComment',
> function(e){". Line 2803~
>
>    }
> });
> $(document).on('dblclick', 'table.detailview-table td.fieldValue',
> function (e) {
> var currentTdElement = jQuery(e.currentTarget);
> self.ajaxEditHandling(currentTdElement);
> });
> detailContentsHolder.on('click','.saveComment', function(e){
> var element = jQuery(e.currentTarget);
> if(!element.is(":disabled")) {
> var currentTarget = jQuery(e.currentTarget);
>
>
>
> ---
>
> *Tom Brown* / Development Manager
> +1 (818) 495-5557 / tbrown at vtexperts.com
>
> *VTExperts*
> vtexperts.com
>
> The information transmitted, including attachments, is intended only for
> the person(s) or entity to which it is addressed and may contain
> confidential and/or privileged material. Any review, retransmission,
> dissemination or other use of, or taking of any action in reliance upon
> this information by persons or entities other than the intended recipient
> is prohibited. If you received this in error, please contact the sender and
> destroy any copies of this information.
>
>
> On Thu, Apr 28, 2022 at 12:23 PM Henry Cumbicus Rivera <
> hcumbicusr at gmail.com> wrote:
>
>> Hi Tony, i like your idea
>>
>> El jue, 28 abr 2022 a las 12:12, Tony Sandman (<tonysandman999 at gmail.com>)
>> escribió:
>>
>>> VT has a nice double-click-to-edit in list view. How about the same in
>>> detail view? It would save lost of time searching for this little pencil
>>> Anyone see disadvantages?
>>>
>>>
>>> T
>>> _______________________________________________
>>> http://www.vtiger.com/
>>
>>
>>
>> --
>>
>> ---------------------------------------------------------------
>> Ing. Henry C.
>> Tel.: +51 956727976
>> _______________________________________________
>> http://www.vtiger.com/
>
> _______________________________________________
> http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20220526/3840b177/attachment.html>


More information about the vtigercrm-developers mailing list