mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-24 22:35:39 -04:00
leftover notification code
This commit is contained in:
@@ -5,8 +5,8 @@ History
|
||||
}
|
||||
@section ActionMenu{
|
||||
<ul id="sub-menu">
|
||||
<li>@Ajax.ActionLink("Trim History", "Trim", "History", new AjaxOptions{ OnSuccess = "reloadGrid" })</li>
|
||||
<li>@Ajax.ActionLink("Purge History", "Purge", "History", new AjaxOptions{ OnSuccess = "reloadGrid" })</li>
|
||||
<li>@Ajax.ActionLink("Trim History", "Trim", "History", new AjaxOptions{ OnSuccess = "reloadHistoryGrid" })</li>
|
||||
<li>@Ajax.ActionLink("Purge History", "Purge", "History", new AjaxOptions { OnSuccess = "reloadHistoryGrid"})</li>
|
||||
</ul>
|
||||
}
|
||||
@section MainContent{
|
||||
@@ -44,7 +44,7 @@ History
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
function reloadGrid() {
|
||||
function reloadHistoryGrid() {
|
||||
var grid = $('#history').data('tGrid');
|
||||
grid.rebind();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user