projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CRM-11137, replaced old style windowpop with jqueryui dialog and also fixed the issue
[civicrm-core.git]
/
templates
/
CRM
/
Contact
/
Page
/
View
/
CustomDataFieldView.tpl
diff --git
a/templates/CRM/Contact/Page/View/CustomDataFieldView.tpl
b/templates/CRM/Contact/Page/View/CustomDataFieldView.tpl
index dd3364d665b5ef81fc8436db758ba7cadafe46a0..e28a61015a6c89a62bef5a6b37c9476e29cd9c76 100644
(file)
--- a/
templates/CRM/Contact/Page/View/CustomDataFieldView.tpl
+++ b/
templates/CRM/Contact/Page/View/CustomDataFieldView.tpl
@@
-46,7
+46,10
@@
{if $element.field_type == 'File'}
{if $element.field_value.displayURL}
<div class="crm-content crm-custom_data crm-displayURL">
{if $element.field_type == 'File'}
{if $element.field_value.displayURL}
<div class="crm-content crm-custom_data crm-displayURL">
- <a href="#" onclick="imagePopUp('{$element.field_value.imageURL}'); return false;" ><img src="{$element.field_value.displayURL}" height = "{$element.field_value.imageThumbHeight}" width="{$element.field_value.imageThumbWidth}"></a>
+ <a href="{$element.field_value.displayURL}" class='crm-image-popup'>
+ <img src="{$element.field_value.displayURL}" height = "{$element.field_value.imageThumbHeight}"
+ width="{$element.field_value.imageThumbWidth}">
+ </a>
</div>
{else}
<div class="crm-content crm-custom_data crm-fileURL">
</div>
{else}
<div class="crm-content crm-custom_data crm-fileURL">