Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : $.Model.static.convert() used with $.Model.prototype.restore() re-converts existing converted attr values

$
0
0
FYI

The solution to this is simple: always serialize your attributes when using $.Model.static.convert() (using $.Model.static.serialize()) !

Although not explicitly stated in the documentation you must serialize your attributes if you intend to use $.Model.backup() and restore() etc with $.Model.static.convert()

Viewing all articles
Browse latest Browse all 3491

Trending Articles