mirror of
https://github.com/myvesta/vesta
synced 2025-07-12 08:06:43 -07:00
JSON parser improved. Fixed problem with parsing special symbols
This commit is contained in:
parent
c80f12eaa4
commit
b472a367d5
6 changed files with 107 additions and 11 deletions
|
@ -135,6 +135,7 @@ App.Actions.cancel_form = function(evt, params) {
|
|||
$('#' + form_id).remove();
|
||||
}
|
||||
else {
|
||||
fb.warn(elm.find('.source').val());
|
||||
var options = App.Helpers.evalJSON(elm.find('.source').val());
|
||||
var entry_name = App.Env.world.toLowerCase() + '_entry';
|
||||
var tpl = App.HTML.Build[entry_name](options);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue