CRM-14798 - crmCaseType/timelineTable.html - Use select2
authorTim Otten <totten@civicrm.org>
Fri, 27 Jun 2014 03:37:23 +0000 (20:37 -0700)
committerTim Otten <totten@civicrm.org>
Fri, 27 Jun 2014 03:37:23 +0000 (20:37 -0700)
css/angular-crmCaseType.css
partials/crmCaseType/timelineTable.html

index 68aeeca8bd61873512249e24e14bf3951ada22cb..3bac19f5f441b1cc444ec18873f3bd281cc60b30 100644 (file)
@@ -27,4 +27,8 @@
 
 .crmCaseType .add-activity {
     width: 50%;
+}
+
+.crmCaseType table td select {
+    width: 10em;
 }
\ No newline at end of file
index 884b6ddc5ff8111a22323c884caf86cae5b541eb..e8e6de8223c5c03f58128942f79819a4b834b52a 100644 (file)
@@ -22,6 +22,8 @@ Required vars: activitySet
     </td>
     <td>
       <select
+        ui-jq="select2"
+        ui-options="{dropdownAutoWidth : true}"
         ng-model="activity.status"
         ng-options="actStatus.name as actStatus.name for actStatus in activityStatuses|orderBy:'name'"
         >
@@ -30,6 +32,8 @@ Required vars: activitySet
     </td>
     <td>
       <select
+        ui-jq="select2"
+        ui-options="{dropdownAutoWidth : true}"
         ng-model="activity.reference_activity"
         ng-options="actType.name as actType.name for actType in activityTypes|orderBy:'name'"
         ng-hide="activity.name == 'Open Case'"
@@ -48,6 +52,8 @@ Required vars: activitySet
     </td>
     <td>
       <select
+        ui-jq="select2"
+        ui-options="{dropdownAutoWidth : true}"
         ng-model="activity.reference_select"
         ng-options="key as value for (key,value) in {newest: 'Newest', oldest: 'Oldest'}"
         ng-hide="activity.name == 'Open Case'"