mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-07-08 05:51:23 -07:00
Validation for no-spaces, a-zA-Z, emails added
This commit is contained in:
parent
f65b8c618b
commit
d5457b58d0
4 changed files with 80 additions and 10 deletions
|
@ -72,10 +72,11 @@ App.Model.add = function(values, source_json)
|
|||
App.Helpers.Warn('Changes were not applied');
|
||||
}
|
||||
else {
|
||||
var build_method = App.Env.getWorldName() + '_entry';
|
||||
/*var build_method = App.Env.getWorldName() + '_entry';
|
||||
var tpl = App.HTML.Build[build_method](values, 'new');
|
||||
App.Ref.CONTENT..replaceWith(tpl);
|
||||
App.Ref.CONTENT..replaceWith(tpl);*/
|
||||
// todo: reply.data;
|
||||
App.Pages.prepareHTML();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue