akiyamaneko commented on a change in pull request #31314:
URL: https://github.com/apache/spark/pull/31314#discussion_r565022689
##########
File path: core/src/main/resources/org/apache/spark/ui/static/stagepage.js
##########
@@ -882,7 +882,9 @@ $(document).ready(function () {
if (typeof msg === 'undefined') {
return "";
} else {
- var formHead = msg.substring(0,
msg.indexOf("at"));
+ var indexOfLineSperator =
msg.indexOf("\n");
+ var formHead = indexOfLineSperator > 0 ?
msg.substring(0, indexOfLineSperator) :
Review comment:
Sorry for taking up so much of your time. I just woke up but my mind is
still asleep... please help to review it thanks.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]