basic bootstrap styles
This commit is contained in:
@@ -90,7 +90,8 @@ transactionControllers.controller('TransactionListCtrl', [ '$scope', '$location'
|
||||
// if this is selected to be a withdrawal, preselect the current user and lock the radio buttons
|
||||
if ($scope.transaction.category.id == -1) {
|
||||
for (i = 0; i < userLabels.length; i++) {
|
||||
if (userLabels[i].innerHTML.substr(-$scope.userinfo.name.length) === $scope.userinfo.name) {
|
||||
console.log(userLabels[i].innerHTML.substr(-$scope.userinfo.name.length-6));
|
||||
if (userLabels[i].innerHTML.indexOf($scope.userinfo.name) >= 0) {
|
||||
userLabels[i].getElementsByTagName('INPUT')[0].checked = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user