This commit is contained in:
Sublunar Space 2022-09-17 18:22:33 +02:00
parent 9d47b5a35e
commit 27d76b8d63

View file

@ -260,7 +260,7 @@ SL.Calendar = (function() {
.attr('ts', m.ts) .attr('ts', m.ts)
.appendTo('#grid'); .appendTo('#grid');
// show relevant tags and actions // show relevant tags and actions
console.log(classes); // console.log(classes);
// classes.split(" ").forEach(function (item, index) { // classes.split(" ").forEach(function (item, index) {
// console.log(item); // console.log(item);
// $('li.' + item).show(); // $('li.' + item).show();
@ -472,8 +472,8 @@ SL.Calendar = (function() {
actions += '<li class="operation '+menuItems[key].tags+'"><input type="checkbox" value=".'+id+'-'+key+'" id="'+id+'-'+key+'" />&nbsp;'+menuItems[key].action+'</li>\n '; actions += '<li class="operation '+menuItems[key].tags+'"><input type="checkbox" value=".'+id+'-'+key+'" id="'+id+'-'+key+'" />&nbsp;'+menuItems[key].action+'</li>\n ';
}); });
// Hide all tags and actions by default // Hide all tags and actions by default
$('li.operation').hide(); // $('li.operation').hide();
$('.actiontag').parent().hide(); // $('.actiontag').parent().hide();
// load template defined in index.html and append all filter data // load template defined in index.html and append all filter data
$('<div/>').loadTemplate($("#tpl-modal"), { $('<div/>').loadTemplate($("#tpl-modal"), {
title : 'Filter by '+pluginDefinitions.name, title : 'Filter by '+pluginDefinitions.name,