Skip to content
Snippets Groups Projects
Commit fc2e0bf6 authored by Andrew Dolgov's avatar Andrew Dolgov
Browse files

log viewer: disable previous page on page 1

parent fa2ebcd0
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,9 @@ class Pref_System extends Handler_Protected {
print "<button dojoType='dijit.form.Button'
onclick='Helpers.EventLog.refresh()'>".__('Refresh')."</button>";
print "<button dojoType='dijit.form.Button'
$prev_page_disabled = $page <= 0 ? "disabled" : "";
print "<button dojoType='dijit.form.Button' $prev_page_disabled
onclick='Helpers.EventLog.prevPage()'>".__('&lt;&lt;')."</button>";
print "<button dojoType='dijit.form.Button' disabled>".T_sprintf('Page %d of %d', $page+1, $total_pages+1)."</button>";
......
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