mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Log grid will reload when logs are cleared.
History grid will reload when history is trimmed or purged.
This commit is contained in:
parent
d7965022db
commit
bc3e7239c2
7 changed files with 106 additions and 49 deletions
|
@ -52,4 +52,14 @@ function createImageAjaxLink(url, image, alt, title, classes) {
|
|||
"<img class=\"" + classes + "\" src=\"" + image + "\" title=\"" + title + "\" alt=\"" + alt + "\"></a>";
|
||||
|
||||
return html;
|
||||
}
|
||||
|
||||
//Reload/Redraw the grid from the server (bServerSide == true)
|
||||
function redrawGrid() {
|
||||
oTable.fnDraw();
|
||||
}
|
||||
|
||||
//Force reload using Ajax Binding (bServerSide == false)
|
||||
function reloadGrid() {
|
||||
oTable.fnReloadAjax();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue