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

Alan Lord alanslists at gmail.com
Thu May 26 13:25:45 GMT 2022


https://marketplace.vtiger.com/app/listings?id=465

CTL+e to edit

Al


On 26/05/2022 14:19, Tom Brown 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 <http://element.is>(":disabled")) {
> var currentTarget = jQuery(e.currentTarget);
> 
> 
> 
> ---
> 
> *Tom Brown* / Development Manager
> +1 (818) 495-5557 / tbrown at vtexperts.com <mailto:tbrown at vtexperts.com>
> 
> *VTExperts*
> vtexperts.com <https://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 <mailto: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 <mailto: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/ <http://www.vtiger.com/>
> 
> 
> 
>     -- 
> 
>     ---------------------------------------------------------------
>     Ing. Henry C.
>     Tel.: +51 956727976
>     _______________________________________________
>     http://www.vtiger.com/ <http://www.vtiger.com/>
> 
> 
> _______________________________________________
> http://www.vtiger.com/


More information about the vtigercrm-developers mailing list