projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
b4b5324
)
revert InlineLock addfield conversion
author
Tim Mallezie
<tim.mallezie@chiro.be>
Fri, 27 Mar 2015 05:18:10 +0000
(06:18 +0100)
committer
Tim Mallezie
<tim.mallezie@chiro.be>
Fri, 27 Mar 2015 05:18:10 +0000
(06:18 +0100)
CRM/Contact/Form/Inline/Lock.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/Form/Inline/Lock.php
b/CRM/Contact/Form/Inline/Lock.php
index 8450ea08a303056cd0f979649e1c1fee013aba83..b963f823d065fe15df9152435966eba871b1502b 100644
(file)
--- a/
CRM/Contact/Form/Inline/Lock.php
+++ b/
CRM/Contact/Form/Inline/Lock.php
@@
-58,7
+58,7
@@
class CRM_Contact_Form_Inline_Lock {
// - V1:open E1:open E1:submit V1.email:open V1.email:submit
// - V1:open V1.email:open E1:open E1:submit V1.email:submit V1:lock
$timestamps = CRM_Contact_BAO_Contact::getTimestamps($contactID);
// - V1:open E1:open E1:submit V1.email:open V1.email:submit
// - V1:open V1.email:open E1:open E1:submit V1.email:submit V1:lock
$timestamps = CRM_Contact_BAO_Contact::getTimestamps($contactID);
- $form->add
Field('oplock_ts', array('type' => 'hidden', 'id' => 'oplock_ts', 'label' => $timestamps['modified_date']
));
+ $form->add
Element('hidden', 'oplock_ts', $timestamps['modified_date'], array('id' => 'oplock_ts'
));
$form->addFormRule(array('CRM_Contact_Form_Inline_Lock', 'formRule'), $contactID);
}
$form->addFormRule(array('CRM_Contact_Form_Inline_Lock', 'formRule'), $contactID);
}