From a116bb75bc47820094c4eedea2d232299bb843fb Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Tue, 27 May 2014 21:49:47 -0700 Subject: [PATCH] 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). --- css/angular-crmCaseType.css | 2 +- partials/crmCaseType/activityTypesTable.html | 2 +- partials/crmCaseType/timelineTable.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 - +