Skip to content

Commit

Permalink
execute callback
Browse files Browse the repository at this point in the history
  • Loading branch information
Amy Chen committed Oct 14, 2024
1 parent 7a1fc4b commit 5c12dec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions portal/static/js/src/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -1324,6 +1324,7 @@ let requestTimerId = 0;
var tnthAjax = this.getDependency("tnthAjax");
tableName = tableName || this.tableIdentifier;
if (!tableName || !document.querySelector("#adminTable")) {
if (callback) callback();
return false;
}
userId = userId || this.userId;
Expand Down

0 comments on commit 5c12dec

Please sign in to comment.