You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2022/10/31 18:31:14 UTC

[GitHub] [accumulo] DomGarguilo commented on a diff in pull request #3058: Move DataTable errors to console to avoid alerts

DomGarguilo commented on code in PR #3058:
URL: https://github.com/apache/accumulo/pull/3058#discussion_r1009737522


##########
server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/ec.js:
##########
@@ -31,6 +31,10 @@ $(document).ready(function () {
   if (sessionStorage.ecDetailsJSON === undefined) {
     sessionStorage.ecDetailsJSON = JSON.stringify([]);
   }
+
+  // display datatables errors in the console instead of in alerts
+  $.fn.dataTable.ext.errMode = 'throw';

Review Comment:
   The other tables will create similar alerts when the scenario outlined in #3057 happens, so I think its best that it affects all of the tables in this case.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org