LT-67 Storing the activeServer in user's profile

This commit is contained in:
Bruno Alves de Faria authored and Erik Ziegler committed 2016-08-04 16:49:51 +02:00
1 parent 1ca585bfb0
commit 9bf96f24d7
6 files changed
+56 -19

No files matched your search

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