diff --git a/application/views/lehre/lehrauftrag/acceptLehrauftrag.php b/application/views/lehre/lehrauftrag/acceptLehrauftrag.php
index e40e21b43..1a209aa8b 100644
--- a/application/views/lehre/lehrauftrag/acceptLehrauftrag.php
+++ b/application/views/lehre/lehrauftrag/acceptLehrauftrag.php
@@ -68,10 +68,10 @@ $this->load->view(
-
-
-
-
+
+
+
+
@@ -433,5 +433,11 @@ $this->load->view(
$("#password").val('');
});
+
+ // Focus on clicked button
+ $(".btn-lehrauftrag").click(function() {
+ $(".btn-lehrauftrag").removeClass('focus');
+ $(this).addClass('focus');
+ });
});
diff --git a/application/views/lehre/lehrauftrag/approveLehrauftrag.php b/application/views/lehre/lehrauftrag/approveLehrauftrag.php
index 17113b4bc..82494e865 100644
--- a/application/views/lehre/lehrauftrag/approveLehrauftrag.php
+++ b/application/views/lehre/lehrauftrag/approveLehrauftrag.php
@@ -100,13 +100,13 @@ $this->load->view(
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -455,6 +455,11 @@ $(function() {
$('#filterTabulator').tabulator('setFilter', filter_showChanged);
});
+ // Focus on clicked button
+ $(".btn-lehrauftrag").click(function() {
+ $(".btn-lehrauftrag").removeClass('focus');
+ $(this).addClass('focus');
+ });
$("#download-cvs").click(function(){
$('#filterTabulator').tabulator("download", "csv", "data.csv");
diff --git a/application/views/lehre/lehrauftrag/orderLehrauftrag.php b/application/views/lehre/lehrauftrag/orderLehrauftrag.php
index b7796c9ea..43ac1890a 100644
--- a/application/views/lehre/lehrauftrag/orderLehrauftrag.php
+++ b/application/views/lehre/lehrauftrag/orderLehrauftrag.php
@@ -100,13 +100,13 @@ $this->load->view(
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -470,6 +470,12 @@ $(function() {
);
});
+ // Focus on clicked button
+ $(".btn-lehrauftrag").click(function() {
+ $(".btn-lehrauftrag").removeClass('focus');
+ $(this).addClass('focus');
+ });
+
// Order Lehrauftraege
$("#order-lehrauftraege").click(function(){