[Vtigercrm-developers] Hovering over contacts

Greg Vas greg7vas at gmail.com
Wed Feb 24 11:17:51 GMT 2016


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/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20160224/6455cca5/attachment-0001.html>


More information about the vtigercrm-developers mailing list