From 0d05e8a1fb13762d2ae9ae24d06128890624050a Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 6 Mar 2015 21:09:09 -0500 Subject: [PATCH] CRM-16019 - Fix timeEntry format to respect global settings --- js/Common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/Common.js b/js/Common.js index 5a8e0cb9ba..c6d46e9aac 100644 --- a/js/Common.js +++ b/js/Common.js @@ -598,7 +598,7 @@ CRM.strings = CRM.strings || {}; .change(updateDataField) .timeEntry({ spinnerImage: '', - show24Hours: settings.time === true ? CRM.timeIs24Hr : settings.time == '24' + show24Hours: settings.time === true || settings.time === undefined ? CRM.config.timeIs24Hr : settings.time == '24' }); } if (settings.date !== false) { -- 2.25.1