You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2018/09/24 18:40:21 UTC

[trafficcontrol] 01/04: Fixes #2848 Incorrect error message of no data removed from display

This is an automated email from the ASF dual-hosted git repository.

mitchell852 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git

commit f2b9968ac57cc8d8a910ba53ef29f43fe0674bdf
Author: cgillo000 <ch...@cable.comcast.com>
AuthorDate: Thu Sep 20 11:57:49 2018 -0600

    Fixes #2848 Incorrect error message of no data removed from display
---
 traffic_portal/app/src/common/modules/table/_table.scss              | 5 +++++
 .../TableDeliveryServiceRequestCommentsController.js                 | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/traffic_portal/app/src/common/modules/table/_table.scss b/traffic_portal/app/src/common/modules/table/_table.scss
index 18befcb..bddc98d 100644
--- a/traffic_portal/app/src/common/modules/table/_table.scss
+++ b/traffic_portal/app/src/common/modules/table/_table.scss
@@ -40,4 +40,9 @@ td span {
 .ds-comment-italic {
     font-style:italic;
     font-size:x-small;
+}
+#dsRequestCommentsTable {
+    .dataTables_empty {
+        display: none;
+    }
 }
\ No newline at end of file
diff --git a/traffic_portal/app/src/common/modules/table/deliveryServiceRequestComments/TableDeliveryServiceRequestCommentsController.js b/traffic_portal/app/src/common/modules/table/deliveryServiceRequestComments/TableDeliveryServiceRequestCommentsController.js
index 78c49f5..ab8c6b1 100644
--- a/traffic_portal/app/src/common/modules/table/deliveryServiceRequestComments/TableDeliveryServiceRequestCommentsController.js
+++ b/traffic_portal/app/src/common/modules/table/deliveryServiceRequestComments/TableDeliveryServiceRequestCommentsController.js
@@ -149,7 +149,7 @@ var TableDeliveryServicesRequestsController = function (request, $scope, $state,
 			"paging": false,
 			"info": false,
 			"ordering": false,
-
+			"zeroRecords": ' ',
 		});
 	});