arina-ielchiieva commented on a change in pull request #1531: DRILL-5571:
Cancel running query from its Web UI
URL: https://github.com/apache/drill/pull/1531#discussion_r232642178
##########
File path: exec/java-exec/src/main/resources/rest/profile/profile.ftl
##########
@@ -50,6 +50,22 @@
"info": false
}
);} );
+
+ //Close the cancellation status popup
+ function refreshStatus() {
+ //Close PopUp Modal
+ $("#queryCancelModal").modal("hide");
+ location.reload(true);
+ }
+
+ //Cancel query & show cancellation status
+ function cancelQuery() {
+ document.getElementById("cancelTitle").innerHTML = location.hostname;
Review comment:
Why this is needed?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services