Check code value when country was selected. Fix #650
This commit is contained in:
parent
7412a02ef1
commit
75e4bbe6a7
@ -118,6 +118,7 @@ angular.module('myApp.controllers', ['myApp.i18n'])
|
|||||||
updateCountry();
|
updateCountry();
|
||||||
}
|
}
|
||||||
$scope.$broadcast('country_selected');
|
$scope.$broadcast('country_selected');
|
||||||
|
$scope.$broadcast('value_updated');
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateCountry () {
|
function updateCountry () {
|
||||||
|
6
app/js/directives.js
Normal file → Executable file
6
app/js/directives.js
Normal file → Executable file
@ -2532,7 +2532,11 @@ angular.module('myApp.directives', ['myApp.filters'])
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$scope.$on("value_updated", function (event, args) {
|
||||||
|
setZeroTimeout(function () {
|
||||||
|
updateHasValueClass();
|
||||||
|
});
|
||||||
|
});
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user