Skip to content
Snippets Groups Projects
Commit 28a43365 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[fix] Transfer: fix a undefined JS error

parent ea535765
No related branches found
No related tags found
No related merge requests found
# Version v1.4.13
## All platforms
- [enh] Upgrade some JS libs: bower 1.8.8, angular 1.5.11, chart.js 2.9.3
- [fix] Build: Better dependencies management: update the `bower.json`, and remove libs from `www/js/vendor`
and `www/lib/ionic/angular`
- [fix] Cesium+: fix charts X axis labels
## Android
## Desktop
...@@ -257,7 +257,7 @@ function TransferModalController($scope, $q, $translate, $timeout, $filter, $foc ...@@ -257,7 +257,7 @@ function TransferModalController($scope, $q, $translate, $timeout, $filter, $foc
} }
$scope.form.$valid = valid; $scope.form.$valid = valid;
$scope.form.amount.$invalid = !valid; if ($scope.form.amount) $scope.form.amount.$invalid = !valid;
if (!valid || !$scope.formData.all || !amount) { if (!valid || !$scope.formData.all || !amount) {
$scope.formData.restAmount = undefined; $scope.formData.restAmount = undefined;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment