summaryrefslogtreecommitdiffstats
path: root/modules-available/systemstatus
diff options
context:
space:
mode:
authorUdo Walter2017-09-26 13:37:49 +0200
committerUdo Walter2017-09-26 13:37:49 +0200
commit3b8cd9a1a69df094c2c3af767b3fdc14eeb8fbbb (patch)
tree65afd82161329713be919313edc376ffecfc9dc6 /modules-available/systemstatus
parent[systemstatus] fixed inconsistencies (diff)
downloadslx-admin-3b8cd9a1a69df094c2c3af767b3fdc14eeb8fbbb.tar.gz
slx-admin-3b8cd9a1a69df094c2c3af767b3fdc14eeb8fbbb.tar.xz
slx-admin-3b8cd9a1a69df094c2c3af767b3fdc14eeb8fbbb.zip
[systemstatus] bugfix
Diffstat (limited to 'modules-available/systemstatus')
-rw-r--r--modules-available/systemstatus/page.inc.php4
-rw-r--r--modules-available/systemstatus/templates/_page.html2
2 files changed, 1 insertions, 5 deletions
diff --git a/modules-available/systemstatus/page.inc.php b/modules-available/systemstatus/page.inc.php
index f7ec7022..7ee9e5a4 100644
--- a/modules-available/systemstatus/page.inc.php
+++ b/modules-available/systemstatus/page.inc.php
@@ -15,10 +15,6 @@ class Page_SystemStatus extends Page
}
if (Request::post('action') === 'reboot') {
- if (Request::post('confirm') !== 'yep') {
- Message::addError('reboot-unconfirmed');
- Util::redirect('?do=SystemStatus');
- }
$this->rebootTask = Taskmanager::submit('Reboot');
}
}
diff --git a/modules-available/systemstatus/templates/_page.html b/modules-available/systemstatus/templates/_page.html
index dbacbda2..ca3e6fd2 100644
--- a/modules-available/systemstatus/templates/_page.html
+++ b/modules-available/systemstatus/templates/_page.html
@@ -97,7 +97,7 @@
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">{{lang_cancel}}</button>
- <button type="submit" class="btn btn-sm btn-warning" name="deletelocation" value="{{locationid}}"><span class="glyphicon glyphicon-repeat"></span> {{lang_serverReboot}}</button>
+ <button type="submit" class="btn btn-sm btn-warning"><span class="glyphicon glyphicon-repeat"></span> {{lang_serverReboot}}</button>
</div>
</div>
</div>