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:
19aafb0
)
CRM-15275 - Fix datepicker error with certain format
author
Coleman Watts
<coleman@civicrm.org>
Sat, 27 Sep 2014 01:50:51 +0000
(21:50 -0400)
committer
Coleman Watts
<coleman@civicrm.org>
Sat, 27 Sep 2014 01:50:51 +0000
(21:50 -0400)
templates/CRM/common/jcalendar.tpl
patch
|
blob
|
blame
|
history
diff --git
a/templates/CRM/common/jcalendar.tpl
b/templates/CRM/common/jcalendar.tpl
index 92fd8b3982984122d478febb9e8a0e7b150a9a44..9cc20457e58bd1901b0691978f581b47b993dc3b 100644
(file)
--- a/
templates/CRM/common/jcalendar.tpl
+++ b/
templates/CRM/common/jcalendar.tpl
@@
-88,12
+88,6
@@
date_format = $originalElement.attr('format'),
altDateFormat = 'mm/dd/yy';
{literal}
- switch ( date_format ) {
- case 'dd-mm':
- case 'mm/dd':
- altDateFormat = 'mm/dd';
- break;
- }
if ( !( ( date_format == 'M yy' ) || ( date_format == 'yy' ) || ( date_format == 'yy-mm' ) ) ) {
$dateElement.addClass( 'dpDate' );