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/06/01 18:19:27 UTC

[GitHub] [accumulo] DomGarguilo commented on a diff in pull request #2735: Fix async bug when clearing logs in monitor

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


##########
server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/functions.js:
##########
@@ -323,7 +323,8 @@ function doLoggedPostCall(call, callback, sanitize) {
   // Make the rest call, passing success function callback
   $.post(call, function () {
     console.debug("REST POST call to " + call + ": success");
-    if (callback !== null) {
+    if (callback !== null && callback !== undefined) {

Review Comment:
   Addressed in [aab182d](https://github.com/apache/accumulo/pull/2735/commits/aab182d3e026199b6137b38322a016fa72c6772e)



-- 
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