summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2016-11-30 18:20:39 +0100
committerSimon Rettberg2016-11-30 18:20:39 +0100
commit295815f5e52a4079649d25d46ab7b2539d5fd39b (patch)
tree7582b87ec0bc513325d06050f63107dbceeb965f
parent[exams] Add error checking to install script (diff)
downloadslx-admin-295815f5e52a4079649d25d46ab7b2539d5fd39b.tar.gz
slx-admin-295815f5e52a4079649d25d46ab7b2539d5fd39b.tar.xz
slx-admin-295815f5e52a4079649d25d46ab7b2539d5fd39b.zip
[locations] Don't scroll to top when opening location
-rw-r--r--modules-available/locations/templates/locations.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/locations/templates/locations.html b/modules-available/locations/templates/locations.html
index 9dcc6db1..06365cb6 100644
--- a/modules-available/locations/templates/locations.html
+++ b/modules-available/locations/templates/locations.html
@@ -23,7 +23,7 @@
<tr>
<td>
<div style="display:inline-block;width:{{depth}}em"></div>
- <a href="#" onclick="slxOpenLocation(this, {{locationid}})">{{locationname}} <b class="caret"></b></a>
+ <a href="#" onclick="slxOpenLocation(this, {{locationid}}); return false">{{locationname}} <b class="caret"></b></a>
</td>
<td class="text-nowrap" align="right">
{{#havestatistics}}