Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

In a mojit controller the config is lost when the binder refreshView. #1135

Closed
lazybean opened this issue May 22, 2013 · 2 comments
Closed

Comments

@lazybean
Copy link
Contributor

version affected: 0.6.0 and 0.5.9pr1
No problem on 0.5.8

See the Example code in the gist.
https://gist.github.com/lazybean/5628695

When you load the page a first time. config will contain "foo":42.
When you click on the mojit (triggers a refreshView) config is empty.

Workaround is to use an instance mojit as a base. As shown it @caridy 's gist.
https://gist.github.com/caridy/5628753

@caridy
Copy link
Contributor

caridy commented May 22, 2013

A note was added into the release note. This is a regression that will be patched soon.

@caridy
Copy link
Contributor

caridy commented Mar 3, 2014

Workaround described here:
#1046 (comment)

Closing in favor of issue #1046

@caridy caridy closed this as completed Mar 3, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants