LT-67: Refactoring schema validation

This commit is contained in:
Bruno Alves de Faria committed 2016-08-30 14:04:32 -03:00
1 parent 9e2ab2d21a
commit 2a119a5464
12 files changed
+156 -176

No files matched your search

@@ -53,7 +53,7 @@ Template.serverInformationForm.onRendered(() => {
Template.serverInformationForm.events({
submit(event, instance) {
event.preventDefault();
var formData = FormUtils.getFormData(instance.data.$form);
var formData = instance.data.form.value();
Meteor.call('serverSave', formData, function(error) {
if (error) {
// TODO: check for errors: not-authorized, data-write