AnsweredAssumed Answered

Problem with handlebar of phone field

Question asked by Hiren Darji on Feb 3, 2016
Latest reply on Feb 15, 2016 by Hiren Darji

I have copied





And done modification like this:

{{#if value}}

  {{#if value}}

  <img style="cursor:pointer;float:left;margin-right:3px;padding-top:2px" src="custom/images/call-icon.png" onclick="connectcall('{{value}}');">


  <div class="ellipsis_inline" data-placement="bottom" title="{{value}}">

    {{#if skypeValue}}

        <a href="callto:{{skypeValue}}">









Its working like as shown in image,


But due to the SugarCRM 7 inline editing feature, when I click on my call icon,

it is going into editing field, instead of calling my javascript function "connectcall".



Done the same thing for list.hbs as well, it is working on list view.

But due to the SugarCRM 7 inline editing feature, it is not working here.

I don't want to stop the default behaviour of inline editing, and also want to achieve javascript call on click of phone icon.