Skip to content
Snippets Groups Projects
Commit 0db76c90 authored by Kousuke Saruta's avatar Kousuke Saruta Committed by Andrew Or
Browse files

[SPARK-7864] [UI] Fix the logic grabbing the link from table in AllJobPage

This issue is related to #6419 .
Now AllJobPage doesn't have a "kill link" but I think fix the issue mentioned in #6419 just in case to avoid accidents in the future.

So, it's minor issue for now and I don't file this issue in JIRA.

Author: Kousuke Saruta <sarutak@oss.nttdata.co.jp>

Closes #6432 from sarutak/remove-ambiguity-of-link and squashes the following commits:

cd1a503 [Kousuke Saruta] Fixed ambiguity link issue in AllJobPage
parent 15459db4
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ function drawApplicationTimeline(groupArray, eventObjArray, startTime) { ...@@ -46,7 +46,7 @@ function drawApplicationTimeline(groupArray, eventObjArray, startTime) {
}; };
$(this).click(function() { $(this).click(function() {
var jobPagePath = $(getSelectorForJobEntry(this)).find("a").attr("href") var jobPagePath = $(getSelectorForJobEntry(this)).find("a.name-link").attr("href")
window.location.href = jobPagePath window.location.href = jobPagePath
}); });
......
...@@ -231,7 +231,7 @@ private[ui] class AllJobsPage(parent: JobsTab) extends WebUIPage("") { ...@@ -231,7 +231,7 @@ private[ui] class AllJobsPage(parent: JobsTab) extends WebUIPage("") {
</td> </td>
<td> <td>
<span class="description-input" title={lastStageDescription}>{lastStageDescription}</span> <span class="description-input" title={lastStageDescription}>{lastStageDescription}</span>
<a href={detailUrl}>{lastStageName}</a> <a href={detailUrl} class="name-link">{lastStageName}</a>
</td> </td>
<td sorttable_customkey={job.submissionTime.getOrElse(-1).toString}> <td sorttable_customkey={job.submissionTime.getOrElse(-1).toString}>
{formattedSubmissionTime} {formattedSubmissionTime}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment