Merge pull request #77 from Contra/patch-1
fix #76 for bidirectional publish bypass
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -90,7 +90,7 @@ class Rivets.Binding | ... | @@ -90,7 +90,7 @@ class Rivets.Binding |
90 | 90 | ||
91 | Rivets.config.adapter.subscribe model, keypath, @sync | 91 | Rivets.config.adapter.subscribe model, keypath, @sync |
92 | 92 | ||
93 | if @isBidirectional() | 93 | if @isBidirectional() and not @options.bypass |
94 | bindEvent @el, 'change', @publish | 94 | bindEvent @el, 'change', @publish |
95 | 95 | ||
96 | # Unsubscribes from the model and the element. | 96 | # Unsubscribes from the model and the element. | ... | ... |
-
Please register or sign in to post a comment