ui and settings ready
This commit is contained in:
@@ -1,17 +1,3 @@
|
||||
function controller_state() {
|
||||
var controller = Session.get('controller_id');
|
||||
var result = {}
|
||||
if (controller) {
|
||||
result = ControllerState.findOne({
|
||||
controller_id: controller
|
||||
});
|
||||
}
|
||||
|
||||
if (!result) {
|
||||
result = {}
|
||||
};
|
||||
return result;
|
||||
};
|
||||
|
||||
Template.settings.helpers({
|
||||
timeSelected: function(time) {
|
||||
|
||||
Reference in New Issue
Block a user