projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc5403f
)
CRM-17273 - CiviCRM Core - disallow editing location types from the Contact Edit...
author
Jon goldberg
<jon@palantetech.coop>
Thu, 14 Jan 2016 03:00:05 +0000
(22:00 -0500)
committer
Jon goldberg
<jon@palantetech.coop>
Thu, 14 Jan 2016 03:00:05 +0000
(22:00 -0500)
CRM/Contact/Form/Edit/Address.php
patch
|
blob
|
blame
|
history
CRM/Contact/Form/Edit/Email.php
patch
|
blob
|
blame
|
history
CRM/Contact/Form/Edit/IM.php
patch
|
blob
|
blame
|
history
CRM/Contact/Form/Edit/Phone.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/Form/Edit/Address.php
b/CRM/Contact/Form/Edit/Address.php
index f1fd17bb52d781142951de73ff5d6e08d24cfdfc..53b8b35887ec7d1490ac23863f4210f58989cb3b 100644
(file)
--- a/
CRM/Contact/Form/Edit/Address.php
+++ b/
CRM/Contact/Form/Edit/Address.php
@@
-75,6
+75,7
@@
class CRM_Contact_Form_Edit_Address {
$form->addSelect("address[$blockId][location_type_id]", array(
'entity' => 'address',
'class' => 'eight',
+ 'option_url' => NULL,
) + $js, $inlineEdit);
if (!$inlineEdit) {
diff --git
a/CRM/Contact/Form/Edit/Email.php
b/CRM/Contact/Form/Edit/Email.php
index 3bef4b552abb0639a945b9e98278b006117a2824..b4704c5d1286007a12aa4c7da8f7d467b3b7444f 100644
(file)
--- a/
CRM/Contact/Form/Edit/Email.php
+++ b/
CRM/Contact/Form/Edit/Email.php
@@
-70,6
+70,7
@@
class CRM_Contact_Form_Edit_Email {
'entity' => 'email',
'class' => 'eight',
'placeholder' => NULL,
+ 'option_url' => NULL,
));
$multipleBulk = CRM_Core_BAO_Email::isMultipleBulkMail();
diff --git
a/CRM/Contact/Form/Edit/IM.php
b/CRM/Contact/Form/Edit/IM.php
index 80028fa494f674fefa304188d22753aeb9871163..2a00bffcf7e27a25ebf071a7da6b6b0565c9b3c1 100644
(file)
--- a/
CRM/Contact/Form/Edit/IM.php
+++ b/
CRM/Contact/Form/Edit/IM.php
@@
-67,6
+67,7
@@
class CRM_Contact_Form_Edit_IM {
'entity' => 'im',
'class' => 'eight',
'placeholder' => NULL,
+ 'option_url' => NULL,
));
//IM box
diff --git
a/CRM/Contact/Form/Edit/Phone.php
b/CRM/Contact/Form/Edit/Phone.php
index 4afc211754b21010d692e4091d92284d8b6ec2c6..926865da7454b6ce98de838d26e7b1ccdda78936 100644
(file)
--- a/
CRM/Contact/Form/Edit/Phone.php
+++ b/
CRM/Contact/Form/Edit/Phone.php
@@
-76,6
+76,7
@@
class CRM_Contact_Form_Edit_Phone {
'entity' => 'phone',
'class' => 'eight',
'placeholder' => NULL,
+ 'option_url' => NULL,
));
//is_Primary radio