dirtyFields with itemview
Posted
by
user1449437
on Stack Overflow
See other posts from Stack Overflow
or by user1449437
Published on 2012-06-11T16:37:24Z
Indexed on
2012/06/11
16:39 UTC
Read the original article
Hit count: 184
backbone.js
|backbone.marionette
I have a master/detail application that I'm building with backbone marionette. as the user clicks the master rows, the detail will show the row details.
users need to be able to edit the row. I'd like the notify them if they try to 'leave' the row before saving. I was thinking that I'd use the dirtyFields plugin for this functionality.
Has anyone else used these together? when I swap out my itemview, how do I initialize the plugin? when I close the view, is there anything I should think about to clean up the view?
any thoughts would be appreciated.
thx
© Stack Overflow or respective owner