bunch of functionlity
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
Template.configurationList.events({
|
||||
"click .add-new-config-btn": function(event, template) {
|
||||
console.log('should add new configuration');
|
||||
Session.set('newConfigurationRequested', true);
|
||||
}
|
||||
});
|
||||
|
||||
Template.configurationList.helpers({
|
||||
newConfigurationRequested: function() {
|
||||
return Session.get('newConfigurationRequested');
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user