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:
af3775b
)
CRM-16019 - Reset dynamic js when changing date defaults
author
Coleman Watts
<coleman@civicrm.org>
Mon, 2 Mar 2015 15:30:32 +0000
(10:30 -0500)
committer
Coleman Watts
<coleman@civicrm.org>
Mon, 2 Mar 2015 15:33:02 +0000
(10:33 -0500)
CRM/Admin/Form/PreferencesDate.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Admin/Form/PreferencesDate.php
b/CRM/Admin/Form/PreferencesDate.php
index f3f56eb0ee905deb602bcec449f7fa5a63c68cdb..9d0cf1847b74e68316aa6a071a267e52908d5318 100644
(file)
--- a/
CRM/Admin/Form/PreferencesDate.php
+++ b/
CRM/Admin/Form/PreferencesDate.php
@@
-133,6
+133,9
@@
class CRM_Admin_Form_PreferencesDate extends CRM_Admin_Form {
$dao->save();
+ // Update dynamic js to reflect new date settings
+ CRM_Core_Resources::singleton()->resetCacheCode();
+
CRM_Core_Session::setStatus(ts("The date type '%1' has been saved.",
array(1 => $params['name'])
), ts('Saved'), 'success');