-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extract JS in sidepanel.jelly - use updated <l:task>
- Loading branch information
1 parent
10c26a8
commit 34437e5
Showing
2 changed files
with
14 additions
and
13 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
src/main/resources/com/cloudbees/simplediskusage/QuickDiskUsagePlugin/refresh.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
function refresh(link) { | ||
|
||
fetch(link.href, { | ||
method: "POST", | ||
headers: crumb.wrap({}) | ||
}).catch(() => {}); | ||
|
||
hoverNotification('${%Refresh scheduled}', link); | ||
return true; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters