fixed carts
This commit is contained in:
parent
ccbf2cde10
commit
be7a85a451
@ -4,16 +4,7 @@ Template.admin.helpers({
|
|||||||
},
|
},
|
||||||
carts: function() {
|
carts: function() {
|
||||||
return carts.find();
|
return carts.find();
|
||||||
}
|
},
|
||||||
});
|
|
||||||
|
|
||||||
ReactiveTabs.createInterface({
|
|
||||||
template: 'teacherTabs',
|
|
||||||
onChange: function (slug, template) {
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
Template.admin.helpers({
|
|
||||||
tabs: function () {
|
tabs: function () {
|
||||||
// Every tab object MUST have a name and a slug!
|
// Every tab object MUST have a name and a slug!
|
||||||
return [
|
return [
|
||||||
@ -23,6 +14,12 @@ Template.admin.helpers({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
ReactiveTabs.createInterface({
|
||||||
|
template: 'teacherTabs',
|
||||||
|
onChange: function (slug, template) {
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
Template.admin.events({
|
Template.admin.events({
|
||||||
"submit .add, click .add": function (event) {
|
"submit .add, click .add": function (event) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user