mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-09-19 12:22:52 +00:00
(js) Improve $scope.$watch
This commit is contained in:
@@ -348,7 +348,7 @@
|
||||
vm.saveProperties = saveProperties;
|
||||
vm.close = close;
|
||||
|
||||
$scope.$watch('properties.calendar.color', function() {
|
||||
$scope.$watch(function() { return vm.calendar.color; }, function() {
|
||||
srcCalendar.color = vm.calendar.color;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user