CRM-11137, fixes for address custom data
authorCiviCRM <info@civicrm.org>
Tue, 23 Jul 2013 09:45:44 +0000 (15:15 +0530)
committerCiviCRM <info@civicrm.org>
Tue, 23 Jul 2013 09:45:44 +0000 (15:15 +0530)
----------------------------------------
* CRM-11137:
  http://issues.civicrm.org/jira/browse/CRM-11137

templates/CRM/Contact/Form/Edit/Address/CustomField.tpl

index 6f27731bad102daa432fedc3cedce4e36397c68b..cfee486ebd4631d4c842a3bc14080fe12c9916e9 100644 (file)
@@ -86,7 +86,9 @@
                         <span class="html-adjust"><br />
                             &nbsp;{ts}Attached File{/ts}: &nbsp;
                             {if $element.element_value.displayURL }
-                                <a href="#" onclick="popUp('{$element.element_value.displayURL}'); return false;" ><img src="{$element.element_value.displayURL}" height = "100" width="100"></a>
+                                <a href="{$element.element_value.displayURL}" class='crm-image-popup'>
+                                  <img src="{$element.element_value.displayURL}" height = "100" width="100">
+                                </a>
                             {else}
                                 <a href="{$element.element_value.fileURL}">{$element.element_value.fileName}</a>
                             {/if}