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:
f18229c
)
default value for otpions-url
author
Tim Mallezie
<tim.mallezie@chiro.be>
Tue, 31 Mar 2015 07:22:26 +0000
(09:22 +0200)
committer
Tim Mallezie
<tim.mallezie@chiro.be>
Tue, 31 Mar 2015 07:22:26 +0000
(09:22 +0200)
CRM/Core/Form.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Form.php
b/CRM/Core/Form.php
index 4d67f2e778a3d9c0b26a9c41169884f296e1dab9..68f7197fed857a931a0a1c9c0ddf569c4c2f0f25 100644
(file)
--- a/
CRM/Core/Form.php
+++ b/
CRM/Core/Form.php
@@
-1221,6
+1221,10
@@
class CRM_Core_Form extends HTML_QuickForm_Page {
$props['class'] .= ' huge';
$props['multiple'] = 'multiple';
}
+ // Set default options-url value.
+ if ((!isset($props['options-url']))) {
+ $props['options-url'] = TRUE;
+ }
// Add data for popup link.
if ((isset($props['options-url']) && $props['options-url']) && ($props['context'] != 'search' && $widget == 'Select' && CRM_Core_Permission::check('administer CiviCRM'))) {