mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-07 04:47:14 +00:00
(js) Improve $scope.$watch
This commit is contained in:
1 parent
cebd79a66e
commit
77ce13967c
3 files changed
+7
-6
No files matched your search
@@ -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