CRM-14534 - crmCaseType - Allow entry of negative offsets
authorTim Otten <totten@civicrm.org>
Mon, 11 Aug 2014 20:38:52 +0000 (13:38 -0700)
committerTim Otten <totten@civicrm.org>
Mon, 11 Aug 2014 20:38:52 +0000 (13:38 -0700)
partials/crmCaseType/timelineTable.html

index 460f730576fbcd95288284bf2712b7a90cc76aad..621b9da12ba4e9d55906a58787f91765646a1daf 100644 (file)
@@ -45,7 +45,7 @@ Required vars: activitySet
       <input
         class="number"
         type="text"
-        ng-pattern="/^[0-9]*$/"
+        ng-pattern="/^-?[0-9]*$/"
         ng-model="activity.reference_offset"
         ng-hide="activity.name == 'Open Case'"
         ng-required="activity.name != 'Open Case'"