diff --git a/app/js/controllers.js b/app/js/controllers.js index 3b5823a8..c71becca 100644 --- a/app/js/controllers.js +++ b/app/js/controllers.js @@ -118,6 +118,7 @@ angular.module('myApp.controllers', ['myApp.i18n']) updateCountry(); } $scope.$broadcast('country_selected'); + $scope.$broadcast('value_updated'); } function updateCountry () { diff --git a/app/js/directives.js b/app/js/directives.js old mode 100644 new mode 100755 index 7f5b0edf..a1b3dad6 --- a/app/js/directives.js +++ b/app/js/directives.js @@ -2532,7 +2532,11 @@ angular.module('myApp.directives', ['myApp.filters']) }); } - + $scope.$on("value_updated", function (event, args) { + setZeroTimeout(function () { + updateHasValueClass(); + }); + }); }; })