Make sure we start from the actual @model passed in to the KeypathObserver.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -12,7 +12,7 @@ class KeypathObserver | ... | @@ -12,7 +12,7 @@ class KeypathObserver |
12 | @callback @target = next | 12 | @callback @target = next |
13 | 13 | ||
14 | realize: => | 14 | realize: => |
15 | current = @view.adapters[@root.interface].read @view.models, @root.path | 15 | current = @model |
16 | 16 | ||
17 | for token, index in @tokens | 17 | for token, index in @tokens |
18 | if @objectPath[index]? | 18 | if @objectPath[index]? | ... | ... |
-
Please register or sign in to post a comment