Change server returned newsletter body to be a json object, not a string

This commit is contained in:
Tautvidas Sipavičius
2015-12-11 17:14:23 +02:00
parent 3d82230d10
commit be3462925d
4 changed files with 23 additions and 5 deletions

View File

@ -72,7 +72,7 @@ define([
App.getAvailableStyles = Module.getAvailableStyles;
var body = JSON.parse(options.newsletter.body);
var body = options.newsletter.body;
this.setGlobalStyles(body.globalStyles);
});