cjolif / dojo-todo-app

Dojo ToDo App
Other
28 stars 15 forks source link

items,list view beforeActivate called twice on tablet #48

Closed eric-wang closed 12 years ago

eric-wang commented 12 years ago

open the tablet version demo:

  1. click on left hand items, the items,list view beforeActivate() method call once.
  2. Click on "Edit" button on left hand, click "Done" button on "Configuration,edit" view, then click "Done" button on "configure" view
  3. now click on the left hand item, the items,list view beforeActivate() method called twice
eric-wang commented 12 years ago

this issue caused by click on left hand item will trigger "configure" view onCheckStateChanged, so the transition do twice. Because the two view bind on the same one data model, the data model change will update the two view.