[Vtigercrm-developers] Hovering over contacts

Stacey Johnson stacey.johnson110 at gmail.com
Wed Feb 24 12:26:10 GMT 2016


this popup is a good thing until get lost on hoover out, but not always O.o

Stacey

On Wed, Feb 24, 2016 at 6:29 PM, ardi zeneli <zeneliiardi at gmail.com> wrote:

> Hello,
> in  "/layouts/vlayout/modules/Vtiger/resources/Vtiger.js" after
> "registerTooltipEvents: function() {" insert a "return" in the end of the
> function.
> It will disable the pop-up in all the modules.
>
>
> On Wed, Feb 24, 2016 at 12:17 PM, Greg Vas <greg7vas at gmail.com> wrote:
>
>> Cant do that.
>>
>> Any other idea how to remove the pop up when hovering over a contact in
>> an invoice list.
>>
>> On Fri, Feb 12, 2016 at 8:58 AM, Preexo <preexo at googlemail.com> wrote:
>>
>>> I put it into our customization module with some javascript. since only
>>> one
>>> user didn't want the popup, I just checked the user name, lol... dirty,
>>> but
>>> it works fine. This is in the document ready part of my custom extension.
>>> You might leave away the ajax request... if not, write your own
>>> adapter...
>>> Does that help you enough?
>>>
>>>
>>>         if (typeof Vtiger_Index_Js != 'undefined') {
>>>                 // remember old register tooltip event before overriding
>>>                 var _registerTooltipEvents =
>>> Vtiger_Index_Js.registerTooltipEvents;
>>>                 // override register tooltip event
>>>                 Vtiger_Index_Js.registerTooltipEvents = function() {
>>>                 // get all customization data first
>>>                 var data = null;
>>>                 var url =
>>>
>>> 'index.php?module=MSACustomizations&action=MSACustomizationsAjax&mode=getData';
>>>                 AppConnector.request(url).then(
>>>                                 function(data) {
>>>                                         if(data.result != null &&
>>> data.result != ''){
>>>                                                 // EXTENSION 1
>>>                                                 // only if the user name
>>> is not equals abc register the
>>> tooltips
>>>
>>> if(data.result.content.user_name !=
>>> "userNameThatDoesNotWantThePopUp"){
>>>
>>> _registerTooltipEvents();
>>>                                                 }
>>>                                         } else{
>>>                                                 console.log("couldn't
>>> get data from API")
>>>                                         }
>>>                                 }
>>>                 );
>>>                 }
>>>         }
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://vtiger-crm.2324883.n4.nabble.com/Vtigercrm-developers-Hovering-over-contacts-tp18396p18398.html
>>> Sent from the vtigercrm-developers mailing list archive at Nabble.com.
>>> _______________________________________________
>>> http://www.vtiger.com/
>>>
>>
>>
>> _______________________________________________
>> http://www.vtiger.com/
>>
>
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20160224/801bced3/attachment.html>


More information about the vtigercrm-developers mailing list