diff --git a/pom.xml b/pom.xml
index fe8de3a..00fb4f4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
4.0.0
de.tilman
next-transactions
- 1.3.2
+ 1.3.3
org.springframework.boot
diff --git a/src/main/resources/static/js/controllers.js b/src/main/resources/static/js/controllers.js
index 4b244e9..ba3022c 100644
--- a/src/main/resources/static/js/controllers.js
+++ b/src/main/resources/static/js/controllers.js
@@ -101,27 +101,8 @@ transactionControllers.controller('TransactionListCtrl', [ '$scope', '$routePara
}
$scope.checkCategory = function() {
-
var radioButtons = document.getElementsByName('expenseBy');
var userLabels = document.getElementsByClassName('userLabel');
-
- // if this is selected to be a withdrawal, preselect the current user and lock the radio buttons
- if ($scope.transaction.category.name === 'Private Entnahme') {
- for (i = 0; i < userLabels.length; i++) {
- if (userLabels[i].innerHTML.indexOf($scope.userinfo.name) >= 0) {
- userLabels[i].getElementsByTagName('INPUT')[0].checked = true;
- }
- }
- for (i = 0; i < radioButtons.length; i++) {
- radioButtons[i].disabled = true;
- }
- }
- else {
- for (i = 0; i < radioButtons.length; i++) {
- radioButtons[i].disabled = false;
- }
- radioButtons[0].checked = true;
- }
}
$scope.initList = function() {