From: Tim Otten Date: Wed, 28 May 2014 04:49:47 +0000 (-0700) Subject: crmCaseType - Fix loading number-ish Javascript data X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a116bb75bc47820094c4eedea2d232299bb843fb;p=civicrm-core.git crmCaseType - Fix loading number-ish Javascript data In Firefox, the initial loading of some fields (like max_instances) failed because the HTML widget had type "number" but the Javascript data wasn't strictly numeric (ie it had type "string" with numeric content). --- diff --git a/css/angular-crmCaseType.css b/css/angular-crmCaseType.css index 8d6ee1ef3c..68aeeca8bd 100644 --- a/css/angular-crmCaseType.css +++ b/css/angular-crmCaseType.css @@ -21,7 +21,7 @@ text-align: center; } -.crmCaseType input[type=number] { +.crmCaseType input.number { width: 3.5em; } diff --git a/partials/crmCaseType/activityTypesTable.html b/partials/crmCaseType/activityTypesTable.html index 039f02bc11..1094aaf95e 100644 --- a/partials/crmCaseType/activityTypesTable.html +++ b/partials/crmCaseType/activityTypesTable.html @@ -18,7 +18,7 @@ Required vars: caseType {{ activityType.name }} - + diff --git a/partials/crmCaseType/timelineTable.html b/partials/crmCaseType/timelineTable.html index 8b8b3187ba..9908dc8f88 100644 --- a/partials/crmCaseType/timelineTable.html +++ b/partials/crmCaseType/timelineTable.html @@ -32,7 +32,7 @@ Required vars: activitySet - +