diff --git a/js/build.templates.js b/js/build.templates.js
index b9b6adb8..d0ef1754 100644
--- a/js/build.templates.js
+++ b/js/build.templates.js
@@ -3,7 +3,7 @@ this["Fliplet"]["Widget"] = this["Fliplet"]["Widget"] || {};
this["Fliplet"]["Widget"]["Templates"] = this["Fliplet"]["Widget"]["Templates"] || {};
this["Fliplet"]["Widget"]["Templates"]["templates.build.agenda-base"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
- return "
\n \n {{#if filtersInOverlay}}\n
\n {{/if}}\n \n\n \n
\n {{#if searchEnabled}}\n
\n {{/if}}\n {{#ifCond filtersEnabled '||' bookmarksEnabled}}\n
\n {{#ifCond bookmarksEnabled '&&' hasTopBar}}\n
\n \n \n
\n {{/ifCond}}\n
\n {{#if filtersEnabled}}\n
\n {{/if}}\n
\n {{/ifCond}}\n
\n \n\n {{#if bookmarksEnabled}}\n {{#unless hasTopBar}}\n
\n {{/unless}}\n {{/if}}\n\n \n
\n\n \n
\n
\n \n
\n \n
\n
\n Loading agenda...\n
\n
\n
\n\n \n
\n \n
\n {{#if searchEnabled}}\n
\n
\n
\n
\n
\n Searching for \n
\n
\n
\n
\n
\n {{/if}}\n {{#if filtersEnabled}}\n
\n
\n {{#unless filtersInOverlay}}\n {{#if filtersEnabled}}\n
\n \n
\n {{/if}}\n {{/unless}}\n
\n
\n {{/if}}\n
\n \n
\n
\n
\n\n\n\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n\n{{#if showAddEntry}}\n\n \n
\n{{/if}}";
+ return "\n \n {{#if filtersInOverlay}}\n
\n {{/if}}\n \n\n \n
\n {{#if searchEnabled}}\n
\n {{/if}}\n {{#ifCond filtersEnabled '||' bookmarksEnabled}}\n
\n {{#ifCond bookmarksEnabled '&&' hasTopBar}}\n
\n \n \n
\n {{/ifCond}}\n
\n {{#if filtersEnabled}}\n
\n {{/if}}\n
\n {{/ifCond}}\n
\n \n\n {{#if bookmarksEnabled}}\n {{#unless hasTopBar}}\n
\n {{/unless}}\n {{/if}}\n\n \n
\n\n \n
\n
\n \n
\n \n
\n
\n Loading agenda...\n
\n
\n
\n\n \n
\n \n
\n {{#if searchEnabled}}\n
\n
\n
\n
\n
\n Searching for \n
\n
\n
\n
\n
\n {{/if}}\n {{#if filtersEnabled}}\n
\n
\n {{#unless filtersInOverlay}}\n {{#if filtersEnabled}}\n
\n \n
\n {{/if}}\n {{/unless}}\n
\n
\n {{/if}}\n
\n \n
\n
\n
\n\n\n\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n\n{{#if showAddEntry}}\n\n \n
\n{{/if}}";
},"useData":true});
this["Fliplet"]["Widget"]["Templates"]["templates.build.agenda-cards-detail"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
@@ -11,7 +11,7 @@ this["Fliplet"]["Widget"]["Templates"]["templates.build.agenda-cards-detail"] =
},"useData":true});
this["Fliplet"]["Widget"]["Templates"]["templates.build.agenda-cards-loop"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
- return "{{#each this}}\n \n
\n {{#each this}}\n
\n
\n
\n
\n
\n
{{[Start Time]}}
\n {{#ifCond [Start Time] '&&' [End Time]}}\n
|
\n {{/ifCond}}\n
{{[End Time]}}
\n
\n
\n {{#if [Title]}}\n
{{[Title]}} \n {{/if}}\n
\n {{#if [Location]}}\n
{{{[Location]}}}
\n {{/if}}\n
{{[Start Time]}}{{#ifCond [Start Time] '&&' [End Time]}} - {{/ifCond}}{{[End Time]}}{{#if [Full Date]}} / {{/if}}{{[Full Date]}}
\n
\n\n
\n
\n
\n
\n
\n
\n {{/each}}\n
\n
Nothing bookmarked for this date
\n
\n {{/each}}";
+ return "{{#each this}}\n \n
\n {{#each this}}\n
\n
\n
\n
\n
\n
{{[Start Time]}}
\n {{#ifCond [Start Time] '&&' [End Time]}}\n
|
\n {{/ifCond}}\n
{{[End Time]}}
\n
\n
\n {{#if [Title]}}\n
{{[Title]}} \n {{/if}}\n
\n {{#if [Location]}}\n
{{{[Location]}}}
\n {{/if}}\n
{{[Start Time]}}{{#ifCond [Start Time] '&&' [End Time]}} - {{/ifCond}}{{[End Time]}}{{#if [Full Date]}} / {{/if}}{{[Full Date]}}
\n
\n\n
\n
\n
\n
\n
\n
\n {{/each}}\n
\n
Nothing bookmarked for this date
\n
\n {{/each}}";
},"useData":true});
this["Fliplet"]["Widget"]["Templates"]["templates.build.agenda-cards-search-results"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
@@ -19,15 +19,15 @@ this["Fliplet"]["Widget"]["Templates"]["templates.build.agenda-cards-search-resu
},"useData":true});
this["Fliplet"]["Widget"]["Templates"]["templates.build.agenda-dates-loop"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
- return "{{#each this}}\n\n {{week}}
\n {{day}}
\n {{month}}
\n \n{{/each}}";
+ return "{{#each this}}\n\n {{week}}
\n {{day}}
\n {{month}}
\n \n{{/each}}";
},"useData":true});
this["Fliplet"]["Widget"]["Templates"]["templates.build.agenda-filters"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
- return "{{#if filtersInOverlay}}\n \n {{#each filters}}\n
\n
\n
\n \n {{[name]}}\n \n \n \n \n
\n
\n
\n {{#each [data]}}\n {{[name]}}
\n {{/each}}\n \n
\n
\n
\n {{/each}}\n
\n{{else}}\n {{#each filters}}\n Filter by {{[name]}}
\n \n
\n
\n {{#each [data]}}\n {{[name]}}
\n {{/each}}\n \n
\n
\n {{/each}}\n{{/if}}";
+ return "{{#if filtersInOverlay}}\n \n {{#each filters}}\n
\n
\n
\n \n {{[name]}}\n \n \n \n \n
\n
\n
\n {{#each [data]}}\n {{[name]}}
\n {{/each}}\n \n
\n
\n
\n {{/each}}\n
\n{{else}}\n {{#each filters}}\n Filter by {{[name]}}
\n \n
\n
\n {{#each [data]}}\n {{[name]}}
\n {{/each}}\n \n
\n
\n {{/each}}\n{{/if}}";
},"useData":true});
this["Fliplet"]["Widget"]["Templates"]["templates.build.news-feed-base"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
- return "\n \n {{#if filtersInOverlay}}\n
\n {{/if}}\n \n\n \n
\n\n \n
\n {{#if searchEnabled}}\n
\n {{/if}}\n {{#ifCond filtersEnabled '||' bookmarksEnabled}}\n
\n {{#if bookmarksEnabled}}\n
\n \n \n
\n {{/if}}\n
\n {{#if filtersEnabled}}\n
\n {{/if}}\n
\n {{/ifCond}}\n
\n \n\n \n {{#if searchEnabled}}\n
\n
\n
\n
\n
\n Searching for \n
\n
\n
\n
\n
\n {{/if}}\n {{#if filtersEnabled}}\n
\n
\n {{#unless filtersInOverlay}}\n {{#if filtersEnabled}}\n
\n \n
\n {{/if}}\n {{/unless}}\n
\n
\n {{/if}}\n \n\n
\n \n
\n\n {{#if enabledLimitEntries}}\n
\n {{#ifCond limitEntries '==' 0}}\n {{#ifCond searchEnabled '||' filtersEnabled}}\n
{{#if searchEnabled}}Search{{/if}}{{#ifCond searchEnabled '&&' filtersEnabled}} and/or {{/ifCond}}{{#if filtersEnabled}}Filter{{/if}} to see the list items
\n {{/ifCond}}\n {{/ifCond}}\n {{#ifCond limitEntries '>' 0}}\n
Showing the first {{limitEntries}} list items.{{#ifCond searchEnabled '||' filtersEnabled}} {{#if searchEnabled}}Search{{/if}}{{#ifCond searchEnabled '&&' filtersEnabled}} and/or {{/ifCond}}{{#if filtersEnabled}}Filter{{/if}} to see more.{{/ifCond}}
\n {{/ifCond}}\n
\n {{/if}}\n\n
\n Loading...\n
\n
\n No matches found\n
\n
\n Nothing bookmarked\n
\n
\n\n\n\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n\n{{#if showAddEntry}}\n\n \n
\n{{/if}}\n\n\n";
+ return "\n \n {{#if filtersInOverlay}}\n
\n {{/if}}\n \n\n \n
\n\n \n
\n {{#if searchEnabled}}\n
\n {{/if}}\n {{#ifCond filtersEnabled '||' bookmarksEnabled}}\n
\n {{#if bookmarksEnabled}}\n
\n \n \n
\n {{/if}}\n
\n {{#if filtersEnabled}}\n
\n {{/if}}\n
\n {{/ifCond}}\n
\n \n\n \n {{#if searchEnabled}}\n
\n
\n
\n
\n
\n Searching for \n
\n
\n
\n
\n
\n {{/if}}\n {{#if filtersEnabled}}\n
\n
\n {{#unless filtersInOverlay}}\n {{#if filtersEnabled}}\n
\n \n
\n {{/if}}\n {{/unless}}\n
\n
\n {{/if}}\n \n\n
\n \n
\n\n {{#if enabledLimitEntries}}\n
\n {{#ifCond limitEntries '==' 0}}\n {{#ifCond searchEnabled '||' filtersEnabled}}\n
{{#if searchEnabled}}Search{{/if}}{{#ifCond searchEnabled '&&' filtersEnabled}} and/or {{/ifCond}}{{#if filtersEnabled}}Filter{{/if}} to see the list items
\n {{/ifCond}}\n {{/ifCond}}\n {{#ifCond limitEntries '>' 0}}\n
Showing the first {{limitEntries}} list items.{{#ifCond searchEnabled '||' filtersEnabled}} {{#if searchEnabled}}Search{{/if}}{{#ifCond searchEnabled '&&' filtersEnabled}} and/or {{/ifCond}}{{#if filtersEnabled}}Filter{{/if}} to see more.{{/ifCond}}
\n {{/ifCond}}\n
\n {{/if}}\n\n
\n Loading...\n
\n
\n No matches found\n
\n
\n Nothing bookmarked\n
\n
\n\n\n\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n\n{{#if showAddEntry}}\n\n \n
\n{{/if}}\n\n\n";
},"useData":true});
this["Fliplet"]["Widget"]["Templates"]["templates.build.news-feed-comment"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
@@ -39,11 +39,11 @@ this["Fliplet"]["Widget"]["Templates"]["templates.build.news-feed-detail"] = Han
},"useData":true});
this["Fliplet"]["Widget"]["Templates"]["templates.build.news-feed-filters"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
- return "{{#if filtersInOverlay}}\n \n {{#each filters}}\n
\n
\n
\n \n {{[name]}}\n \n \n \n \n
\n
\n
\n {{#each [data]}}\n {{[name]}}
\n {{/each}}\n \n
\n
\n
\n {{/each}}\n
\n{{else}}\n {{#each filters}}\n Filter by {{[name]}}
\n \n
\n
\n {{#each [data]}}\n {{[name]}}
\n {{/each}}\n \n
\n
\n {{/each}}\n{{/if}}";
+ return "{{#if filtersInOverlay}}\n \n {{#each filters}}\n
\n
\n
\n \n {{[name]}}\n \n \n \n \n
\n
\n
\n {{#each [data]}}\n {{[name]}}
\n {{/each}}\n \n
\n
\n
\n {{/each}}\n
\n{{else}}\n {{#each filters}}\n Filter by {{[name]}}
\n \n
\n
\n {{#each [data]}}\n {{[name]}}
\n {{/each}}\n \n
\n
\n {{/each}}\n{{/if}}";
},"useData":true});
this["Fliplet"]["Widget"]["Templates"]["templates.build.news-feed-loop"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
- return "{{#each this}}\n\n
\n {{#if [Image]}}\n
\n \n
\n
\n \n {{/if}}\n
\n
\n
\n {{#ifCond [Date] '||' [Categories]}}\n
{{formatDate [Date]}} {{#ifCond [Date] '&&' [Categories]}}/{{/ifCond}} {{[Categories]}}
\n {{/ifCond}}\n {{#if likesEnabled}}\n
\n \n \n \n
\n {{/if}}\n\n {{#if bookmarksEnabled}}\n
\n \n \n \n
\n {{/if}}\n\n {{#if commentsEnabled}}\n \n {{/if}}\n
\n {{#if [Title]}}\n
{{[Title]}} \n {{/if}}\n {{#if [Content]}}\n
\n {{{auth [Content]}}}\n
\n {{/if}}\n
\n
\n
\n
\n{{/each}}";
+ return "{{#each this}}\n\n
\n {{#if [Image]}}\n
\n \n
\n
\n \n {{/if}}\n
\n
\n
\n {{#ifCond [Date] '||' [Categories]}}\n
{{formatDate [Date]}} {{#ifCond [Date] '&&' [Categories]}}/{{/ifCond}} {{[Categories]}}
\n {{/ifCond}}\n {{#if likesEnabled}}\n
\n \n \n \n
\n {{/if}}\n\n {{#if bookmarksEnabled}}\n
\n \n \n \n
\n {{/if}}\n\n {{#if commentsEnabled}}\n \n {{/if}}\n
\n {{#if [Title]}}\n
{{[Title]}} \n {{/if}}\n {{#if [Content]}}\n
\n {{{auth [Content]}}}\n
\n {{/if}}\n
\n
\n
\n
\n{{/each}}";
},"useData":true});
this["Fliplet"]["Widget"]["Templates"]["templates.build.news-feed-single-comment"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
@@ -55,7 +55,7 @@ this["Fliplet"]["Widget"]["Templates"]["templates.build.news-feed-temp-comment"]
},"useData":true});
this["Fliplet"]["Widget"]["Templates"]["templates.build.simple-list-base"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
- return "\n \n {{#if filtersInOverlay}}\n
\n {{/if}}\n \n\n \n
\n\n \n
\n {{#if searchEnabled}}\n
\n {{/if}}\n {{#ifCond filtersEnabled '||' bookmarksEnabled}}\n
\n {{#if bookmarksEnabled}}\n
\n \n \n
\n {{/if}}\n
\n {{#if filtersEnabled}}\n
\n {{/if}}\n
\n {{/ifCond}}\n
\n \n\n \n {{#if searchEnabled}}\n
\n
\n
\n
\n
\n Searching for \n
\n
\n
\n
\n
\n {{/if}}\n {{#if filtersEnabled}}\n
\n
\n {{#unless filtersInOverlay}}\n {{#if filtersEnabled}}\n
\n \n
\n {{/if}}\n {{/unless}}\n
\n
\n {{/if}}\n \n\n
\n \n
\n\n {{#if enabledLimitEntries}}\n
\n {{#ifCond limitEntries '==' 0}}\n {{#ifCond searchEnabled '||' filtersEnabled}}\n
{{#if searchEnabled}}Search{{/if}}{{#ifCond searchEnabled '&&' filtersEnabled}} and/or {{/ifCond}}{{#if filtersEnabled}}Filter{{/if}} to see the list items
\n {{/ifCond}}\n {{/ifCond}}\n {{#ifCond limitEntries '>' 0}}\n
Showing the first {{limitEntries}} list items.{{#ifCond searchEnabled '||' filtersEnabled}} {{#if searchEnabled}}Search{{/if}}{{#ifCond searchEnabled '&&' filtersEnabled}} and/or {{/ifCond}}{{#if filtersEnabled}}Filter{{/if}} to see more.{{/ifCond}}
\n {{/ifCond}}\n
\n {{/if}}\n\n
\n Loading...\n
\n
\n No matches found\n
\n
\n Nothing bookmarked\n
\n
\n\n\n\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n\n{{#if showAddEntry}}\n\n \n
\n{{/if}}\n\n\n";
+ return "\n \n {{#if filtersInOverlay}}\n
\n {{/if}}\n \n\n \n
\n\n \n
\n {{#if searchEnabled}}\n
\n {{/if}}\n {{#ifCond filtersEnabled '||' bookmarksEnabled}}\n
\n {{#if bookmarksEnabled}}\n
\n \n \n
\n {{/if}}\n
\n {{#if filtersEnabled}}\n
\n {{/if}}\n
\n {{/ifCond}}\n
\n \n\n \n {{#if searchEnabled}}\n
\n
\n
\n
\n
\n Searching for \n
\n
\n
\n
\n
\n {{/if}}\n {{#if filtersEnabled}}\n
\n
\n {{#unless filtersInOverlay}}\n {{#if filtersEnabled}}\n
\n \n
\n {{/if}}\n {{/unless}}\n
\n
\n {{/if}}\n \n\n
\n \n
\n\n {{#if enabledLimitEntries}}\n
\n {{#ifCond limitEntries '==' 0}}\n {{#ifCond searchEnabled '||' filtersEnabled}}\n
{{#if searchEnabled}}Search{{/if}}{{#ifCond searchEnabled '&&' filtersEnabled}} and/or {{/ifCond}}{{#if filtersEnabled}}Filter{{/if}} to see the list items
\n {{/ifCond}}\n {{/ifCond}}\n {{#ifCond limitEntries '>' 0}}\n
Showing the first {{limitEntries}} list items.{{#ifCond searchEnabled '||' filtersEnabled}} {{#if searchEnabled}}Search{{/if}}{{#ifCond searchEnabled '&&' filtersEnabled}} and/or {{/ifCond}}{{#if filtersEnabled}}Filter{{/if}} to see more.{{/ifCond}}
\n {{/ifCond}}\n
\n {{/if}}\n\n
\n Loading...\n
\n
\n No matches found\n
\n
\n Nothing bookmarked\n
\n
\n\n\n\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n\n{{#if showAddEntry}}\n\n \n
\n{{/if}}\n\n\n";
},"useData":true});
this["Fliplet"]["Widget"]["Templates"]["templates.build.simple-list-comment"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
@@ -67,11 +67,11 @@ this["Fliplet"]["Widget"]["Templates"]["templates.build.simple-list-detail"] = H
},"useData":true});
this["Fliplet"]["Widget"]["Templates"]["templates.build.simple-list-filters"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
- return "{{#if filtersInOverlay}}\n \n {{#each filters}}\n
\n
\n
\n \n {{[name]}}\n \n \n \n \n
\n
\n
\n {{#each [data]}}\n {{[name]}}
\n {{/each}}\n \n
\n
\n
\n {{/each}}\n
\n{{else}}\n {{#each filters}}\n {{#if data.length}}\n Filter by {{[name]}}
\n \n
\n
\n {{#each [data]}}\n {{[name]}}
\n {{/each}}\n \n
\n
\n {{/if}}\n {{/each}}\n{{/if}}";
+ return "{{#if filtersInOverlay}}\n \n {{#each filters}}\n
\n
\n
\n \n {{[name]}}\n \n \n \n \n
\n
\n
\n {{#each [data]}}\n {{[name]}}
\n {{/each}}\n \n
\n
\n
\n {{/each}}\n
\n{{else}}\n {{#each filters}}\n {{#if data.length}}\n Filter by {{[name]}}
\n \n
\n
\n {{#each [data]}}\n {{[name]}}
\n {{/each}}\n \n
\n
\n {{/if}}\n {{/each}}\n{{/if}}";
},"useData":true});
this["Fliplet"]["Widget"]["Templates"]["templates.build.simple-list-loop"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
- return "{{#each this}}\n\n {{#if [Image]}}\n
\n {{/if}}\n
\n {{#if [Title]}}\n
{{[Title]}}
\n {{/if}}\n {{#if [Description]}}\n
{{plaintext [Description]}}
\n {{/if}}\n {{#if [Category]}}\n
{{[Category]}}
\n {{/if}}\n
\n {{#if likesEnabled}}\n
\n \n \n \n
\n {{/if}}\n {{#if bookmarksEnabled}}\n
\n \n \n \n
\n {{/if}}\n {{#if commentsEnabled}}\n \n {{/if}}\n
\n
\n
\n
\n{{/each}}";
+ return "{{#each this}}\n\n {{#if [Image]}}\n
\n {{/if}}\n
\n {{#if [Title]}}\n
{{[Title]}}
\n {{/if}}\n {{#if [Description]}}\n
{{plaintext [Description]}}
\n {{/if}}\n {{#if [Category]}}\n
{{[Category]}}
\n {{/if}}\n
\n {{#if likesEnabled}}\n
\n \n \n \n
\n {{/if}}\n {{#if bookmarksEnabled}}\n
\n \n \n \n
\n {{/if}}\n {{#if commentsEnabled}}\n \n {{/if}}\n
\n
\n
\n
\n{{/each}}";
},"useData":true});
this["Fliplet"]["Widget"]["Templates"]["templates.build.simple-list-single-comment"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
@@ -83,7 +83,7 @@ this["Fliplet"]["Widget"]["Templates"]["templates.build.simple-list-temp-comment
},"useData":true});
this["Fliplet"]["Widget"]["Templates"]["templates.build.small-card-base"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
- return "\n \n {{#if filtersInOverlay}}\n
\n {{/if}}\n \n\n \n
\n\n \n
\n
\n\n {{#if searchEnabled}}\n
\n {{/if}}\n
\n {{#if bookmarksEnabled}}\n
\n \n \n
\n {{/if}}\n
\n {{#if filtersEnabled}}\n
\n {{/if}}\n
\n
\n \n\n \n {{#if searchEnabled}}\n
\n
\n
\n
\n
\n Searching for \n
\n
\n
\n
\n
\n {{/if}}\n {{#if filtersEnabled}}\n
\n
\n {{#unless filtersInOverlay}}\n {{#if filtersEnabled}}\n
\n \n
\n {{/if}}\n {{/unless}}\n
\n
\n {{/if}}\n \n\n
\n \n
\n\n {{#if enabledLimitEntries}}\n
\n {{#ifCond limitEntries '==' 0}}\n {{#ifCond searchEnabled '||' filtersEnabled}}\n
{{#if searchEnabled}}Search{{/if}}{{#ifCond searchEnabled '&&' filtersEnabled}} and/or {{/ifCond}}{{#if filtersEnabled}}Filter{{/if}} to see the list items
\n {{/ifCond}}\n {{/ifCond}}\n {{#ifCond limitEntries '>' 0}}\n
Showing the first {{limitEntries}} list items.{{#ifCond searchEnabled '||' filtersEnabled}} {{#if searchEnabled}}Search{{/if}}{{#ifCond searchEnabled '&&' filtersEnabled}} and/or {{/ifCond}}{{#if filtersEnabled}}Filter{{/if}} to see more.{{/ifCond}}
\n {{/ifCond}}\n
\n {{/if}}\n\n
\n Loading...\n
\n
\n No matches found\n
\n
\n Nothing bookmarked\n
\n
\n\n\n\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n\n{{#if showAddEntry}}\n\n \n
\n{{/if}}\n";
+ return "\n \n {{#if filtersInOverlay}}\n
\n {{/if}}\n \n\n \n
\n\n \n
\n
\n\n {{#if searchEnabled}}\n
\n {{/if}}\n
\n {{#if bookmarksEnabled}}\n
\n \n \n
\n {{/if}}\n
\n {{#if filtersEnabled}}\n
\n {{/if}}\n
\n
\n \n\n \n {{#if searchEnabled}}\n
\n
\n
\n
\n
\n Searching for \n
\n
\n
\n
\n
\n {{/if}}\n {{#if filtersEnabled}}\n
\n
\n {{#unless filtersInOverlay}}\n {{#if filtersEnabled}}\n
\n \n
\n {{/if}}\n {{/unless}}\n
\n
\n {{/if}}\n \n\n
\n \n
\n\n {{#if enabledLimitEntries}}\n
\n {{#ifCond limitEntries '==' 0}}\n {{#ifCond searchEnabled '||' filtersEnabled}}\n
{{#if searchEnabled}}Search{{/if}}{{#ifCond searchEnabled '&&' filtersEnabled}} and/or {{/ifCond}}{{#if filtersEnabled}}Filter{{/if}} to see the list items
\n {{/ifCond}}\n {{/ifCond}}\n {{#ifCond limitEntries '>' 0}}\n
Showing the first {{limitEntries}} list items.{{#ifCond searchEnabled '||' filtersEnabled}} {{#if searchEnabled}}Search{{/if}}{{#ifCond searchEnabled '&&' filtersEnabled}} and/or {{/ifCond}}{{#if filtersEnabled}}Filter{{/if}} to see more.{{/ifCond}}
\n {{/ifCond}}\n
\n {{/if}}\n\n
\n Loading...\n
\n
\n No matches found\n
\n
\n Nothing bookmarked\n
\n
\n\n\n\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n\n{{#if showAddEntry}}\n\n \n
\n{{/if}}\n";
},"useData":true});
this["Fliplet"]["Widget"]["Templates"]["templates.build.small-card-detail"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
@@ -91,11 +91,11 @@ this["Fliplet"]["Widget"]["Templates"]["templates.build.small-card-detail"] = Ha
},"useData":true});
this["Fliplet"]["Widget"]["Templates"]["templates.build.small-card-filters"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
- return "{{#if filtersInOverlay}}\n \n {{#each filters}}\n
\n
\n
\n \n {{[name]}}\n \n \n \n \n
\n
\n
\n {{#each [data]}}\n {{[name]}}
\n {{/each}}\n \n
\n
\n
\n {{/each}}\n
\n{{else}}\n {{#each filters}}\n Filter by {{[name]}}
\n \n
\n
\n {{#each [data]}}\n {{[name]}}
\n {{/each}}\n \n
\n
\n {{/each}}\n{{/if}}\n";
+ return "{{#if filtersInOverlay}}\n \n {{#each filters}}\n
\n
\n
\n \n {{[name]}}\n \n \n \n \n
\n
\n
\n {{#each [data]}}\n {{[name]}}
\n {{/each}}\n \n
\n
\n
\n {{/each}}\n
\n{{else}}\n {{#each filters}}\n Filter by {{[name]}}
\n \n
\n
\n {{#each [data]}}\n {{[name]}}
\n {{/each}}\n \n
\n
\n {{/each}}\n{{/if}}\n";
},"useData":true});
this["Fliplet"]["Widget"]["Templates"]["templates.build.small-card-loop"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
- return "{{#each this}}\n \n
\n
\n {{#if [Image]}}\n
\n
\n {{#unless [Image]}}
{{/unless}}\n
\n {{/if}}\n
\n
\n
\n
{{[First Name]}} {{[Last Name]}}
\n
{{[Title]}}
\n
{{[Location]}}
\n {{#if bookmarksEnabled}}\n
\n \n \n \n
\n {{/if}}\n
\n
\n {{/each}}\n";
+ return "{{#each this}}\n \n
\n
\n {{#if [Image]}}\n
\n
\n {{#unless [Image]}}
{{/unless}}\n
\n {{/if}}\n
\n
\n
\n
{{[First Name]}} {{[Last Name]}}
\n
{{[Title]}}
\n
{{[Location]}}
\n {{#if bookmarksEnabled}}\n
\n \n \n \n
\n {{/if}}\n
\n
\n {{/each}}\n";
},"useData":true});
this["Fliplet"]["Widget"]["Templates"]["templates.build.small-card-profile-icon"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
@@ -107,7 +107,7 @@ this["Fliplet"]["Widget"]["Templates"]["templates.build.small-card-user-profile"
},"useData":true});
this["Fliplet"]["Widget"]["Templates"]["templates.build.small-h-card-base"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
- return "\n
\n \n
\n
\n Loading...\n
\n
\n\n\n\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n\n{{#if showAddEntry}}\n\n \n
\n{{/if}}";
+ return "\n
\n \n
\n
\n Loading...\n
\n
\n\n\n\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n\n{{#if showAddEntry}}\n\n \n
\n{{/if}}";
},"useData":true});
this["Fliplet"]["Widget"]["Templates"]["templates.build.small-h-card-detail"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
@@ -115,5 +115,5 @@ this["Fliplet"]["Widget"]["Templates"]["templates.build.small-h-card-detail"] =
},"useData":true});
this["Fliplet"]["Widget"]["Templates"]["templates.build.small-h-card-loop"] = Handlebars.template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
- return "{{#each this}}\n \n
\n
\n
\n
\n {{#unless [Image]}}
{{/unless}}\n
\n
\n
\n
{{[First Name]}} {{[Last Name]}}
\n
\n{{/each}}";
+ return "{{#each this}}\n \n
\n
\n
\n
\n {{#unless [Image]}}
{{/unless}}\n
\n
\n
\n
{{[First Name]}} {{[Last Name]}}
\n
\n{{/each}}";
},"useData":true});
\ No newline at end of file
diff --git a/js/layout-javascript/agenda-code.js b/js/layout-javascript/agenda-code.js
index d446fc69..98ec7693 100644
--- a/js/layout-javascript/agenda-code.js
+++ b/js/layout-javascript/agenda-code.js
@@ -196,11 +196,7 @@ DynamicList.prototype.attachObservers = function() {
_this.hideFilterOverlay();
_this.clearFilters();
})
- .on('click keydown', '.hidden-filter-controls-filter', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.hidden-filter-controls-filter', function() {
var $filter = $(this);
Fliplet.Analytics.trackEvent({
@@ -218,15 +214,9 @@ DynamicList.prototype.attachObservers = function() {
}, 0);
}
})
- .on('click keydown', '.list-search-icon .fa-sliders', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.list-search-icon .fa-sliders', function() {
var $el = $(this);
- _this.$container.find('[data-filter-group]').prop('hidden', null);
-
Fliplet.Page.Context.remove('dynamicListFilterHideControls');
if (_this.data.filtersInOverlay) {
@@ -285,17 +275,12 @@ DynamicList.prototype.attachObservers = function() {
_this.$container.find('.clear-filters').removeClass('hidden');
})
- .on('click keydown', '.list-search-cancel', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.list-search-cancel', function() {
// Hide filters
$(this).removeClass('active');
_this.$container.find('.hidden-filter-controls').removeClass('active');
_this.$container.find('.list-search-icon .fa-sliders').removeClass('active');
_this.calculateFiltersHeight(true);
- _this.$container.find('[data-filter-group]').prop('hidden', true);
// Clear filters
_this.clearFilters();
@@ -364,20 +349,12 @@ DynamicList.prototype.attachObservers = function() {
_this.isSearching = true;
_this.searchData(value);
})
- .on('click keydown', '.clear-search', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.clear-search', function() {
_this.$container.find('.new-agenda-list-container').removeClass('searching');
_this.isSearching = false;
_this.searchData('');
})
- .on('click keydown', '.go-to-poll', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.go-to-poll', function() {
if (!_this.data.pollEnabled || !_this.data.pollColumn) {
return;
}
@@ -392,11 +369,7 @@ DynamicList.prototype.attachObservers = function() {
entry: entry
});
})
- .on('click keydown', '.go-to-survey', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.go-to-survey', function() {
if (!_this.data.surveyEnabled || !_this.data.surveyColumn) {
return;
}
@@ -411,11 +384,7 @@ DynamicList.prototype.attachObservers = function() {
entry: entry
});
})
- .on('click keydown', '.go-to-questions', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.go-to-questions', function() {
if (!_this.data.questionsEnabled || !_this.data.questionsColumn) {
return;
}
@@ -459,10 +428,6 @@ DynamicList.prototype.attachObservers = function() {
.on('click', '.toggle-agenda, .toggle-bookmarks', function(event) {
event.stopPropagation();
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
var $toggle = _this.$container.find(event.handleObj.selector);
$toggle.toggleClass('mixitup-control-active');
@@ -491,11 +456,7 @@ DynamicList.prototype.attachObservers = function() {
allowClick = true;
}, 100);
})
- .on('click keydown', '.agenda-list-item', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.agenda-list-item', function(event) {
if (_this.isPanning && !_this.allowClick && $(this).hasClass('open')) {
return;
}
@@ -545,11 +506,7 @@ DynamicList.prototype.attachObservers = function() {
});
});
})
- .on('click keydown', '.agenda-detail-overlay-close, .agenda-detail-overlay-screen', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.agenda-detail-overlay-close, .agenda-detail-overlay-screen', function(event) {
var result;
if ($(this).hasClass('go-previous-screen')) {
@@ -612,11 +569,7 @@ DynamicList.prototype.attachObservers = function() {
return;
}
})
- .on('click keydown', '.agenda-date-selector li', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.agenda-date-selector li', function() {
// prevents clicking the active one
// prevents clicking the placeholder
if ($(this).hasClass('active') || $(this).hasClass('placeholder')) {
@@ -645,11 +598,7 @@ DynamicList.prototype.attachObservers = function() {
return;
}
})
- .on('click keydown', '.dynamic-list-add-item', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.dynamic-list-add-item', function() {
if (!_this.data.addEntryLinkAction) {
return;
}
@@ -681,10 +630,7 @@ DynamicList.prototype.attachObservers = function() {
});
}
})
- .on('click keydown', '.dynamic-list-edit-item', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
+ .on('click', '.dynamic-list-edit-item', function() {
if (!_this.data.editEntryLinkAction) {
return;
@@ -719,10 +665,7 @@ DynamicList.prototype.attachObservers = function() {
});
}
})
- .on('click keydown', '.dynamic-list-delete-item', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
+ .on('click', '.dynamic-list-delete-item', function() {
var _that = $(this);
var entryID = $(this).parents('.agenda-item-inner-content').data('entry-id');
@@ -785,11 +728,7 @@ DynamicList.prototype.attachObservers = function() {
Fliplet.UI.Actions(options);
});
})
- .on('click keydown', '.agenda-detail-overlay .bookmark-wrapper, .search-results-wrapper .bookmark-wrapper', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.agenda-detail-overlay .bookmark-wrapper, .search-results-wrapper .bookmark-wrapper', function() {
var id = $(this).parents('.agenda-detail-wrapper, .agenda-list-item').data('entry-id');
var record = _.find(_this.listItems, { id: id });
diff --git a/js/layout-javascript/news-feed-code.js b/js/layout-javascript/news-feed-code.js
index 3eba9161..60ce15a3 100644
--- a/js/layout-javascript/news-feed-code.js
+++ b/js/layout-javascript/news-feed-code.js
@@ -174,10 +174,7 @@ DynamicList.prototype.attachObservers = function() {
_this.hideFilterOverlay();
_this.clearFilters();
})
- .on('click keydown', '.hidden-filter-controls-filter', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
+ .on('click', '.hidden-filter-controls-filter', function() {
var $filter = $(this);
@@ -211,12 +208,7 @@ DynamicList.prototype.attachObservers = function() {
_this.allowClick = true;
}, 100);
})
- .on('click keydown', '.news-feed-list-item', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
-
+ .on('click', '.news-feed-list-item', function(event) {
if ($(event.target).hasClass('news-feed-info-holder') || $(event.target).parents('.news-feed-info-holder').length) {
return;
}
@@ -264,11 +256,7 @@ DynamicList.prototype.attachObservers = function() {
}
});
})
- .on('click keydown', '.news-feed-detail-overlay-close, .news-feed-detail-overlay-screen', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.news-feed-detail-overlay-close, .news-feed-detail-overlay-screen', function() {
var result;
if ($(this).hasClass('go-previous-screen')) {
@@ -301,18 +289,12 @@ DynamicList.prototype.attachObservers = function() {
_this.closeDetails();
})
- .on('click keydown', '.list-search-icon .fa-sliders', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.list-search-icon .fa-sliders', function() {
var $elementClicked = $(this);
var $parentElement = $elementClicked.parents('.new-news-feed-list-container');
Fliplet.Page.Context.remove('dynamicListFilterHideControls');
- $parentElement.find('[data-filter-group]').show();
-
if (_this.data.filtersInOverlay) {
$parentElement.find('.news-feed-search-filter-overlay').addClass('display');
$('body').addClass('lock has-filter-overlay');
@@ -326,7 +308,6 @@ DynamicList.prototype.attachObservers = function() {
$parentElement.find('.hidden-filter-controls').addClass('active');
$parentElement.find('.list-search-cancel').addClass('active');
- $parentElement.find('[data-filter-group]').prop('hidden', null);
$elementClicked.addClass('active');
_this.calculateFiltersHeight($parentElement);
@@ -371,11 +352,7 @@ DynamicList.prototype.attachObservers = function() {
_this.$container.find('.clear-filters').removeClass('hidden');
})
- .on('click keydown', '.list-search-cancel', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.list-search-cancel', function() {
// Hide filters
$(this).removeClass('active');
_this.$container.find('.hidden-filter-controls').removeClass('active');
@@ -450,11 +427,7 @@ DynamicList.prototype.attachObservers = function() {
_this.isSearching = true;
_this.searchData(value);
})
- .on('click keydown', '.clear-search', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.clear-search', function() {
_this.$container.find('.new-news-feed-list-container').removeClass('searching');
_this.isSearching = false;
_this.searchData('');
@@ -465,11 +438,7 @@ DynamicList.prototype.attachObservers = function() {
.on('hide.bs.collapse', '.news-feed-filters-panel .panel-collapse', function() {
$(this).siblings('.panel-heading').find('.fa-angle-up').removeClass('fa-angle-up').addClass('fa-angle-down');
})
- .on('click keydown', '.news-feed-comment-holder', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.news-feed-comment-holder', function(event) {
_this.$container.find('.news-feed-list-wrapper').hide();
event.stopPropagation();
@@ -487,23 +456,14 @@ DynamicList.prototype.attachObservers = function() {
action: 'comments_open'
});
})
- .on('click keydown', '.news-feed-comment-close-panel', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
- _this.$container.find('.news-feed-list-wrapper').show();
+ .on('click ', '.news-feed-comment-close-panel', function() {
_this.$container.find('.new-news-feed-comment-panel').removeClass('open');
_this.$container.find('.news-feed-list-item.open .slide-over').removeClass('lock');
if (!_this.$container.find('.news-feed-detail-overlay').hasClass('open')) {
$('body').removeClass('lock');
}
})
- .on('click keydown', '.news-feed-comment-input-holder .comment', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.news-feed-comment-input-holder .comment', function() {
var entryId = _this.$container.find('.news-feed-list-item.open').data('entry-id') || _this.entryClicked;
var $commentArea = $(this).parents('.news-feed-comment-input-holder').find('[data-comment-body]');
var comment = $commentArea.val().trim();
@@ -561,11 +521,7 @@ DynamicList.prototype.attachObservers = function() {
$(this).parents('.news-feed-comment-input-holder').removeClass('ready');
}
})
- .on('click keydown', '.news-feed-comment-input-holder .save', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.news-feed-comment-input-holder .save', function() {
var commentId = _this.$container.find('.fl-individual-comment.editing').data('id');
var entryId = _this.$container.find('.news-feed-list-item.open').data('entry-id') || _this.entryClicked;
var $commentArea = $(this).parents('.news-feed-comment-input-holder').find('[data-comment-body]');
@@ -585,11 +541,7 @@ DynamicList.prototype.attachObservers = function() {
action: 'comment_save_edit'
});
})
- .on('click keydown', '.news-feed-comment-input-holder .cancel', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.news-feed-comment-input-holder .cancel', function() {
_this.$container.find('.fl-individual-comment').removeClass('editing');
_this.$container.find('.news-feed-comment-input-holder').removeClass('editing');
@@ -597,11 +549,7 @@ DynamicList.prototype.attachObservers = function() {
$messageArea.val('').trigger('change');
autosize.update($messageArea);
})
- .on('click keydown', '.final .fl-comment-value', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.final .fl-comment-value', function(event) {
event.preventDefault();
var _that = $(this);
var commentId = $(this).parents('.fl-individual-comment').data('id');
@@ -699,11 +647,7 @@ DynamicList.prototype.attachObservers = function() {
action: 'comment_options'
});
})
- .on('click keydown', '.dynamic-list-add-item', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.dynamic-list-add-item', function() {
if (!_this.data.addEntryLinkAction) {
return;
}
@@ -735,11 +679,7 @@ DynamicList.prototype.attachObservers = function() {
});
}
})
- .on('click keydown', '.dynamic-list-edit-item', function() {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.dynamic-list-edit-item', function() {
if (!_this.data.editEntryLinkAction) {
return;
}
@@ -773,10 +713,7 @@ DynamicList.prototype.attachObservers = function() {
});
}
})
- .on('click keydown', '.dynamic-list-delete-item', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
+ .on('click', '.dynamic-list-delete-item', function() {
var _that = $(this);
var entryID = $(this).parents('.news-feed-details-content-holder').data('entry-id');
@@ -837,21 +774,13 @@ DynamicList.prototype.attachObservers = function() {
Fliplet.UI.Actions(options);
});
})
- .on('click keydown', '.toggle-bookmarks', function (event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.toggle-bookmarks', function () {
var $toggle = $(this);
$toggle.toggleClass('mixitup-control-active');
_this.searchData();
})
- .on('click keydown', '.news-feed-detail-overlay .news-feed-bookmark-wrapper', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.news-feed-detail-overlay .news-feed-bookmark-wrapper', function() {
var id = $(this).parents('.news-feed-details-content-holder').data('entry-id');
var record = _.find(_this.listItems, { id: id });
@@ -868,11 +797,7 @@ DynamicList.prototype.attachObservers = function() {
$(this).parents('.news-feed-bookmark-holder').removeClass('not-bookmarked').addClass('bookmarked');
record.bookmarkButton.like();
})
- .on('click keydown', '.news-feed-detail-overlay .news-feed-like-wrapper', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.news-feed-detail-overlay .news-feed-like-wrapper', function() {
var id = $(this).parents('.news-feed-details-content-holder').data('entry-id');
var record = _.find(_this.listItems, { id: id });
diff --git a/js/layout-javascript/simple-list-code.js b/js/layout-javascript/simple-list-code.js
index 2c57d989..16c8a58d 100644
--- a/js/layout-javascript/simple-list-code.js
+++ b/js/layout-javascript/simple-list-code.js
@@ -167,10 +167,7 @@ DynamicList.prototype.attachObservers = function() {
_this.hideFilterOverlay();
_this.clearFilters();
})
- .on('click keydown', '.hidden-filter-controls-filter', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
+ .on('click', '.hidden-filter-controls-filter', function() {
var $filter = $(this);
@@ -189,11 +186,7 @@ DynamicList.prototype.attachObservers = function() {
}, 0);
}
})
- .on('click keydown', '.simple-list-item', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('clicks', '.simple-list-item', function(event) {
if ($(event.target).hasClass('simple-list-social-holder') || $(event.target).parents('.simple-list-social-holder').length) {
return;
}
@@ -239,11 +232,7 @@ DynamicList.prototype.attachObservers = function() {
});
});
})
- .on('click keydown', '.simple-list-detail-overlay-close', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.simple-list-detail-overlay-close', function() {
var result;
if ($(this).hasClass('go-previous-screen')) {
@@ -276,18 +265,12 @@ DynamicList.prototype.attachObservers = function() {
_this.closeDetails();
})
- .on('click keydown', '.list-search-icon .fa-sliders', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.list-search-icon .fa-sliders', function() {
var $elementClicked = $(this);
var $parentElement = $elementClicked.parents('.simple-list-container');
Fliplet.Page.Context.remove('dynamicListFilterHideControls');
- $parentElement.find('[data-filter-group]').show();
-
if (_this.data.filtersInOverlay) {
$parentElement.find('.simple-list-search-filter-overlay').addClass('display');
$('body').addClass('lock has-filter-overlay');
@@ -302,7 +285,6 @@ DynamicList.prototype.attachObservers = function() {
$parentElement.find('.hidden-filter-controls').addClass('active');
$parentElement.find('.list-search-cancel').addClass('active');
$elementClicked.addClass('active');
- $parentElement.find('[data-filter-group]').prop('hidden', null);
_this.calculateFiltersHeight($parentElement);
@@ -346,11 +328,7 @@ DynamicList.prototype.attachObservers = function() {
_this.$container.find('.clear-filters').removeClass('hidden');
})
- .on('click keydown', '.list-search-cancel', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.list-search-cancel', function() {
// Hide filters
$(this).removeClass('active');
_this.$container.find('.hidden-filter-controls').removeClass('active');
@@ -425,11 +403,7 @@ DynamicList.prototype.attachObservers = function() {
_this.isSearching = true;
_this.searchData(value);
})
- .on('click keydown', '.clear-search', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.clear-search', function() {
_this.$container.find('.simple-list-container').removeClass('searching');
_this.isSearching = false;
_this.searchData('');
@@ -440,11 +414,7 @@ DynamicList.prototype.attachObservers = function() {
.on('hide.bs.collapse', '.simple-list-filters-panel .panel-collapse', function() {
$(this).siblings('.panel-heading').find('.fa-angle-up').removeClass('fa-angle-up').addClass('fa-angle-down');
})
- .on('click keydown', '.simple-list-comment-holder', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.simple-list-comment-holder', function(event) {
event.stopPropagation();
var identifier;
if (_this.$container.find('.simple-list-container').hasClass('overlay-open')) {
@@ -460,22 +430,14 @@ DynamicList.prototype.attachObservers = function() {
action: 'comments_open'
});
})
- .on('click keydown', '.simple-list-comment-close-panel', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.simple-list-comment-close-panel', function() {
_this.$container.find('.simple-list-comment-panel').removeClass('open');
_this.$container.find('.simple-list-detail-overlay-content-holder').removeClass('lock');
if (!_this.$container.find('.simple-list-container').hasClass('overlay-open')) {
$('body').removeClass('lock');
}
})
- .on('click keydown', '.simple-list-comment-input-holder .comment', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.simple-list-comment-input-holder .comment', function() {
var entryId = _this.entryClicked;
var $commentArea = $(this).parents('.simple-list-comment-input-holder').find('[data-comment-body]');
var comment = $commentArea.val().trim();
@@ -561,11 +523,7 @@ DynamicList.prototype.attachObservers = function() {
$messageArea.val('').trigger('change');
autosize.update($messageArea);
})
- .on('click keydown', '.final .fl-comment-value', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.final .fl-comment-value', function(e) {
e.preventDefault();
var _that = $(this);
var commentId = $(this).parents('.fl-individual-comment').data('id');
@@ -663,11 +621,7 @@ DynamicList.prototype.attachObservers = function() {
action: 'comment_options'
});
})
- .on('click keydown', '.dynamic-list-add-item', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.dynamic-list-add-item', function() {
if (!_this.data.addEntryLinkAction) {
return;
}
@@ -699,11 +653,7 @@ DynamicList.prototype.attachObservers = function() {
});
}
})
- .on('click keydown', '.dynamic-list-edit-item', function() {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.dynamic-list-edit-item', function() {
if (!_this.data.editEntryLinkAction) {
return;
}
@@ -737,10 +687,7 @@ DynamicList.prototype.attachObservers = function() {
});
}
})
- .on('click keydown', '.dynamic-list-delete-item', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
+ .on('click', '.dynamic-list-delete-item', function() {
var _that = $(this);
var entryID = $(this).parents('.simple-list-detail-overlay-content').find('.simple-list-detail-wrapper').data('entry-id');
@@ -800,21 +747,13 @@ DynamicList.prototype.attachObservers = function() {
Fliplet.UI.Actions(options);
});
})
- .on('click keydown', '.toggle-bookmarks', function (event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.toggle-bookmarks', function () {
var $toggle = $(this);
$toggle.toggleClass('mixitup-control-active');
_this.searchData();
})
- .on('click keydown', '.simple-list-detail-overlay .simple-list-bookmark-wrapper', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.simple-list-detail-overlay .simple-list-bookmark-wrapper', function() {
var id = $(this).parents('.simple-list-details-holder').data('entry-id');
var record = _.find(_this.listItems, { id: id });
@@ -831,11 +770,7 @@ DynamicList.prototype.attachObservers = function() {
$(this).parents('.simple-list-bookmark-holder').removeClass('not-bookmarked').addClass('bookmarked');
record.bookmarkButton.like();
})
- .on('click keydown', '.simple-list-detail-overlay .simple-list-like-wrapper', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.simple-list-detail-overlay .simple-list-like-wrapper', function() {
var id = $(this).parents('.simple-list-details-holder').data('entry-id');
var record = _.find(_this.listItems, { id: id });
diff --git a/js/layout-javascript/small-card-code.js b/js/layout-javascript/small-card-code.js
index a31d3e87..0e6cc951 100644
--- a/js/layout-javascript/small-card-code.js
+++ b/js/layout-javascript/small-card-code.js
@@ -173,11 +173,7 @@ DynamicList.prototype.attachObservers = function() {
_this.hideFilterOverlay();
_this.clearFilters();
})
- .on('click keydown', '.hidden-filter-controls-filter', function() {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.hidden-filter-controls-filter', function() {
var $filter = $(this);
Fliplet.Analytics.trackEvent({
@@ -236,11 +232,7 @@ DynamicList.prototype.attachObservers = function() {
action: 'profile_open'
});
})
- .on('click keydown', '.small-card-list-item', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.small-card-list-item', function(event) {
var _that = $(this);
if ($(event.target).hasClass('small-card-bookmark-holder') || $(event.target).parents('.small-card-bookmark-holder').length) {
@@ -295,13 +287,9 @@ DynamicList.prototype.attachObservers = function() {
});
});
})
- .on('click keydown', '.small-card-detail-overlay-close, .small-card-detail-overlay-screen', function(event) {
+ .on('click', '.small-card-detail-overlay-close, .small-card-detail-overlay-screen', function(event) {
event.stopPropagation();
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
var result;
if ($(this).hasClass('go-previous-screen')) {
@@ -347,18 +335,12 @@ DynamicList.prototype.attachObservers = function() {
Fliplet.Page.Context.remove('dynamicListOpenId');
})
- .on('click keydown', '.list-search-icon .fa-sliders', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.list-search-icon .fa-sliders', function() {
var $elementClicked = $(this);
var $parentElement = $elementClicked.parents('.new-small-card-list-container');
Fliplet.Page.Context.remove('dynamicListFilterHideControls');
- $parentElement.find('[data-filter-group]').show();
-
if (_this.data.filtersInOverlay) {
$parentElement.find('.small-card-search-filter-overlay').addClass('display');
$('body').addClass('lock has-filter-overlay');
@@ -373,7 +355,6 @@ DynamicList.prototype.attachObservers = function() {
$parentElement.find('.hidden-filter-controls').addClass('active');
$parentElement.find('.list-search-cancel').addClass('active');
$elementClicked.addClass('active');
- $parentElement.find('[data-filter-group]').prop('hidden', null);
_this.calculateFiltersHeight($parentElement);
@@ -421,16 +402,12 @@ DynamicList.prototype.attachObservers = function() {
_this.$container.find('.clear-filters').removeClass('hidden');
})
- .on('click keydown', '.list-search-cancel', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
+ .on('click', '.list-search-cancel', function() {
// Hide filters
$(this).removeClass('active');
_this.$container.find('.hidden-filter-controls').removeClass('active');
_this.$container.find('.list-search-icon .fa-sliders').removeClass('active');
_this.$container.find('.hidden-filter-controls').animate({ height: 0 }, 200);
- _this.$container.find('[data-filter-group]').prop('hidden', true);
// Clear filters
_this.clearFilters();
@@ -499,11 +476,7 @@ DynamicList.prototype.attachObservers = function() {
_this.isSearching = true;
_this.searchData(value);
})
- .on('click keydown', '.clear-search', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.clear-search', function() {
_this.$container.find('.new-small-card-list-container').removeClass('searching');
_this.isSearching = false;
_this.searchData('');
@@ -514,11 +487,7 @@ DynamicList.prototype.attachObservers = function() {
.on('hide.bs.collapse', '.small-card-filters-panel .panel-collapse', function() {
$(this).siblings('.panel-heading').find('.fa-angle-up').removeClass('fa-angle-up').addClass('fa-angle-down');
})
- .on('click keydown', '.dynamic-list-add-item', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.dynamic-list-add-item', function() {
if (!_this.data.addEntryLinkAction) {
return;
}
@@ -550,10 +519,7 @@ DynamicList.prototype.attachObservers = function() {
});
}
})
- .on('click keydown', '.dynamic-list-edit-item', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
+ .on('click', '.dynamic-list-edit-item', function() {
if (!_this.data.editEntryLinkAction) {
return;
@@ -588,10 +554,7 @@ DynamicList.prototype.attachObservers = function() {
});
}
})
- .on('click keydown', '.dynamic-list-delete-item', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
+ .on('click', '.dynamic-list-delete-item', function() {
var _that = $(this);
var entryID = $(this).parents('.small-card-detail-overlay').find('.small-card-list-detail-content-scroll-wrapper').data('entry-id');
@@ -658,11 +621,7 @@ DynamicList.prototype.attachObservers = function() {
Fliplet.UI.Actions(options);
});
})
- .on('click keydown', '.toggle-bookmarks', function (event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.toggle-bookmarks', function () {
var $toggle = $(this);
$toggle.toggleClass('mixitup-control-active');
diff --git a/js/layout-javascript/small-h-card-code.js b/js/layout-javascript/small-h-card-code.js
index 3cdecf5a..6eee2c2f 100644
--- a/js/layout-javascript/small-h-card-code.js
+++ b/js/layout-javascript/small-h-card-code.js
@@ -99,11 +99,7 @@ DynamicList.prototype.attachObservers = function() {
_this.allowClick = true;
}, 100);
})
- .on('click keydown', '.small-h-card-list-item', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.small-h-card-list-item', function(event) {
var _that = $(this);
var entryId = $(this).data('entry-id');
var entryTitle = $(this).find('.small-h-card-list-item-text').text().trim();
@@ -153,13 +149,9 @@ DynamicList.prototype.attachObservers = function() {
});
});
})
- .on('click keydown', '.small-h-card-detail-overlay-close, .small-h-card-detail-overlay-screen', function(event) {
+ .on('click', '.small-h-card-detail-overlay-close, .small-h-card-detail-overlay-screen', function(event) {
event.stopPropagation();
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
var result;
if ($(this).hasClass('go-previous-screen')) {
@@ -205,11 +197,7 @@ DynamicList.prototype.attachObservers = function() {
Fliplet.Page.Context.remove('dynamicListOpenId');
})
- .on('click keydown', '.dynamic-list-add-item', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
-
+ .on('click', '.dynamic-list-add-item', function() {
if (!_this.data.addEntryLinkAction) {
return;
}
@@ -241,10 +229,7 @@ DynamicList.prototype.attachObservers = function() {
});
}
})
- .on('click keydown', '.dynamic-list-edit-item', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
+ .on('click', '.dynamic-list-edit-item', function() {
if (!_this.data.editEntryLinkAction) {
return;
@@ -279,10 +264,7 @@ DynamicList.prototype.attachObservers = function() {
});
}
})
- .on('click keydown', '.dynamic-list-delete-item', function(event) {
- if (!_this.Utils.Event.isExecute(event)) {
- return;
- }
+ .on('click', '.dynamic-list-delete-item', function() {
var _that = $(this);
var entryID = $(this).parents('.small-h-card-detail-overlay').find('.small-h-card-list-detail-content-scroll-wrapper').data('entry-id');
diff --git a/js/utils.js b/js/utils.js
index 167d6bb3..20051526 100644
--- a/js/utils.js
+++ b/js/utils.js
@@ -174,14 +174,6 @@ Fliplet.Registry.set('dynamicListUtils', (function () {
});
}
- function isExecute (event) {
- if (event.type === 'click') {
- return true;
- }
-
- return event.type === 'keydown' && (event.keyCode === 13 || event.keyCode === 32)
- }
-
function validateImageUrl(url) {
if (_.isArray(url)) {
return _.map(url, function (val) {
@@ -1393,9 +1385,6 @@ Fliplet.Registry.set('dynamicListUtils', (function () {
prepareData: prepareRecordsData,
addComputedFields: addRecordsComputedFields
},
- Event: {
- isExecute: isExecute
- },
User: {
isAdmin: userIsAdmin,
canAddRecord: userCanAddRecord
diff --git a/templates/build/agenda-base.build.hbs b/templates/build/agenda-base.build.hbs
index a278bb16..32c96614 100644
--- a/templates/build/agenda-base.build.hbs
+++ b/templates/build/agenda-base.build.hbs
@@ -35,7 +35,7 @@
\{{#if searchEnabled}}
@@ -43,14 +43,14 @@
\{{#ifCond filtersEnabled '||' bookmarksEnabled}}
\{{#ifCond bookmarksEnabled '&&' hasTopBar}}
-
+
\{{/ifCond}}
-
+
\{{#if filtersEnabled}}
-
+
\{{/if}}
\{{/ifCond}}
@@ -129,7 +129,7 @@
-
diff --git a/templates/build/agenda-cards-loop.build.hbs b/templates/build/agenda-cards-loop.build.hbs
index 8d3c2b79..976be6bf 100644
--- a/templates/build/agenda-cards-loop.build.hbs
+++ b/templates/build/agenda-cards-loop.build.hbs
@@ -1,5 +1,5 @@
\{{#each this}}
-
+
\{{#each this}}
diff --git a/templates/build/agenda-dates-loop.build.hbs b/templates/build/agenda-dates-loop.build.hbs
index 68f8055c..b10207b5 100644
--- a/templates/build/agenda-dates-loop.build.hbs
+++ b/templates/build/agenda-dates-loop.build.hbs
@@ -1,5 +1,5 @@
\{{#each this}}
-
+
\{{week}}
\{{day}}
\{{month}}
diff --git a/templates/build/agenda-filters.build.hbs b/templates/build/agenda-filters.build.hbs
index cfe27f62..6fd6278f 100644
--- a/templates/build/agenda-filters.build.hbs
+++ b/templates/build/agenda-filters.build.hbs
@@ -14,7 +14,7 @@
\{{#each [data]}}
- \{{[name]}}
+ \{{[name]}}
\{{/each}}
@@ -29,7 +29,7 @@
\{{#each [data]}}
- \{{[name]}}
+ \{{[name]}}
\{{/each}}
diff --git a/templates/build/news-feed-base.build.hbs b/templates/build/news-feed-base.build.hbs
index 5e882d17..1b1485aa 100644
--- a/templates/build/news-feed-base.build.hbs
+++ b/templates/build/news-feed-base.build.hbs
@@ -40,7 +40,7 @@
\{{#if searchEnabled}}
@@ -48,14 +48,14 @@
\{{#ifCond filtersEnabled '||' bookmarksEnabled}}
\{{#if bookmarksEnabled}}
-
+
\{{/if}}
-
+
\{{#if filtersEnabled}}
-
+
\{{/if}}
\{{/ifCond}}
@@ -123,7 +123,7 @@
-
diff --git a/templates/build/news-feed-filters.build.hbs b/templates/build/news-feed-filters.build.hbs
index 14057ceb..719f1571 100644
--- a/templates/build/news-feed-filters.build.hbs
+++ b/templates/build/news-feed-filters.build.hbs
@@ -14,7 +14,7 @@
\{{#each [data]}}
- \{{[name]}}
+ \{{[name]}}
\{{/each}}
@@ -29,7 +29,7 @@
\{{#each [data]}}
- \{{[name]}}
+ \{{[name]}}
\{{/each}}
diff --git a/templates/build/news-feed-loop.build.hbs b/templates/build/news-feed-loop.build.hbs
index 41a3fedc..8333d42d 100644
--- a/templates/build/news-feed-loop.build.hbs
+++ b/templates/build/news-feed-loop.build.hbs
@@ -1,5 +1,5 @@
\{{#each this}}
-
+
\{{#if [Image]}}
diff --git a/templates/build/simple-list-base.build.hbs b/templates/build/simple-list-base.build.hbs
index 69fb1eee..68ec5bdd 100644
--- a/templates/build/simple-list-base.build.hbs
+++ b/templates/build/simple-list-base.build.hbs
@@ -40,7 +40,7 @@
\{{#if searchEnabled}}
@@ -48,14 +48,14 @@
\{{#ifCond filtersEnabled '||' bookmarksEnabled}}
\{{#if bookmarksEnabled}}
-
+
\{{/if}}
-
+
\{{#if filtersEnabled}}
-
+
\{{/if}}
\{{/ifCond}}
@@ -124,7 +124,7 @@
-
diff --git a/templates/build/simple-list-filters.build.hbs b/templates/build/simple-list-filters.build.hbs
index 7627d8e7..7de2e81b 100644
--- a/templates/build/simple-list-filters.build.hbs
+++ b/templates/build/simple-list-filters.build.hbs
@@ -14,7 +14,7 @@
\{{#each [data]}}
- \{{[name]}}
+ \{{[name]}}
\{{/each}}
@@ -30,7 +30,7 @@
\{{#each [data]}}
- \{{[name]}}
+ \{{[name]}}
\{{/each}}
diff --git a/templates/build/simple-list-loop.build.hbs b/templates/build/simple-list-loop.build.hbs
index e6c234cc..2fc18e23 100644
--- a/templates/build/simple-list-loop.build.hbs
+++ b/templates/build/simple-list-loop.build.hbs
@@ -1,5 +1,5 @@
\{{#each this}}
-
+
\{{#if [Image]}}
\{{/if}}
diff --git a/templates/build/small-card-base.build.hbs b/templates/build/small-card-base.build.hbs
index 1624677d..5d44b29d 100644
--- a/templates/build/small-card-base.build.hbs
+++ b/templates/build/small-card-base.build.hbs
@@ -45,21 +45,21 @@
\{{#if searchEnabled}}
\{{/if}}
\{{#if bookmarksEnabled}}
-
+
\{{/if}}
-
+
\{{#if filtersEnabled}}
-
+
\{{/if}}
@@ -126,7 +126,7 @@
-
diff --git a/templates/build/small-card-filters.build.hbs b/templates/build/small-card-filters.build.hbs
index 8ca83b14..d474540f 100644
--- a/templates/build/small-card-filters.build.hbs
+++ b/templates/build/small-card-filters.build.hbs
@@ -14,7 +14,7 @@
\{{#each [data]}}
- \{{[name]}}
+ \{{[name]}}
\{{/each}}
@@ -29,7 +29,7 @@
\{{#each [data]}}
- \{{[name]}}
+ \{{[name]}}
\{{/each}}
diff --git a/templates/build/small-card-loop.build.hbs b/templates/build/small-card-loop.build.hbs
index 271411ef..ecaf3122 100644
--- a/templates/build/small-card-loop.build.hbs
+++ b/templates/build/small-card-loop.build.hbs
@@ -1,5 +1,5 @@
\{{#each this}}
-
+
\{{#if [Image]}}
diff --git a/templates/build/small-h-card-base.build.hbs b/templates/build/small-h-card-base.build.hbs
index c2bc538e..8ef1a8f8 100644
--- a/templates/build/small-h-card-base.build.hbs
+++ b/templates/build/small-h-card-base.build.hbs
@@ -11,7 +11,7 @@
-
diff --git a/templates/build/small-h-card-loop.build.hbs b/templates/build/small-h-card-loop.build.hbs
index 0b970c9f..a6eed3a1 100644
--- a/templates/build/small-h-card-loop.build.hbs
+++ b/templates/build/small-h-card-loop.build.hbs
@@ -1,5 +1,5 @@
\{{#each this}}
-