diff --git a/awx/ui/static/js/controllers/JobEvents.js b/awx/ui/static/js/controllers/JobEvents.js
index 74ef9c422f..e8ce9f5a12 100644
--- a/awx/ui/static/js/controllers/JobEvents.js
+++ b/awx/ui/static/js/controllers/JobEvents.js
@@ -41,6 +41,7 @@ function JobEventsList ($scope, $rootScope, $location, $log, $routeParams, Rest,
if (typeof eventData.res == 'string') {
n = eventData['res'].match(/\n/g);
rows = (n) ? n.length : 1;
+ rows = (rows > 10) ? 10 : rows;
found = true;
html += "\n";
html += "\n";
@@ -62,6 +63,7 @@ function JobEventsList ($scope, $rootScope, $location, $log, $routeParams, Rest,
html += "\n";
n = eventData['res'][fld].match(/\n/g);
rows = (n) ? n.length : 1;
+ rows = (rows > 10) ? 10 : rows;
html += "\n";
found = true;
}
@@ -74,6 +76,7 @@ function JobEventsList ($scope, $rootScope, $location, $log, $routeParams, Rest,
}
n = txt.match(/\n/g);
rows = (n) ? n.length : 1;
+ rows = (rows > 10) ? 10 : rows;
html += "\n";
found = true;
}