summaryrefslogtreecommitdiffstats
path: root/modules-available/baseconfig
diff options
context:
space:
mode:
authorUdo Walter2017-10-16 17:18:45 +0200
committerUdo Walter2017-10-16 17:18:45 +0200
commit4f2ace9aa11d1bb7000ee1ff370591bf5d27f0fb (patch)
tree3f876422e16d42ffde0fd42d7d4e5af330780ec4 /modules-available/baseconfig
parent[exams] removed bold style from panel headings (diff)
downloadslx-admin-4f2ace9aa11d1bb7000ee1ff370591bf5d27f0fb.tar.gz
slx-admin-4f2ace9aa11d1bb7000ee1ff370591bf5d27f0fb.tar.xz
slx-admin-4f2ace9aa11d1bb7000ee1ff370591bf5d27f0fb.zip
[baseconfig] fixed "discard changes" button
Diffstat (limited to 'modules-available/baseconfig')
-rw-r--r--modules-available/baseconfig/templates/_page.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules-available/baseconfig/templates/_page.html b/modules-available/baseconfig/templates/_page.html
index 46fccac6..f2dfd17b 100644
--- a/modules-available/baseconfig/templates/_page.html
+++ b/modules-available/baseconfig/templates/_page.html
@@ -65,7 +65,8 @@
</div>
{{/categories}}
<div class="text-right">
- <button class="btn btn-warning" type="reset"><span class="glyphicon glyphicon-refresh"></span> {{lang_discardChanges}}</button>
+ <button class="btn btn-warning" type="button" onclick="window.location.hash = '#bottom'; window.location.reload(true);"><span class="glyphicon glyphicon-refresh"></span> {{lang_discardChanges}}</button>
+ <a name="bottom"></a>
{{^override}}
<a class="btn btn-default" href="api.php?do=baseconfig&amp;user={{userid}}"><span class="glyphicon glyphicon-download-alt"></span> Download</a>
{{/override}}