diff --git a/js/apps/system/aardvark/frontend/js/templates/applicationsView.ejs b/js/apps/system/aardvark/frontend/js/templates/applicationsView.ejs
index d057236f8a..4a325ac8b9 100644
--- a/js/apps/system/aardvark/frontend/js/templates/applicationsView.ejs
+++ b/js/apps/system/aardvark/frontend/js/templates/applicationsView.ejs
@@ -41,7 +41,7 @@
diff --git a/js/apps/system/aardvark/frontend/js/templates/collectionsView.ejs b/js/apps/system/aardvark/frontend/js/templates/collectionsView.ejs
index 9f66ee5472..dd7988a085 100644
--- a/js/apps/system/aardvark/frontend/js/templates/collectionsView.ejs
+++ b/js/apps/system/aardvark/frontend/js/templates/collectionsView.ejs
@@ -28,8 +28,8 @@
-
- System
+
+ System
diff --git a/js/apps/system/aardvark/frontend/js/views/applicationsView.js b/js/apps/system/aardvark/frontend/js/views/applicationsView.js
index dac7bdc672..87e7d02955 100644
--- a/js/apps/system/aardvark/frontend/js/views/applicationsView.js
+++ b/js/apps/system/aardvark/frontend/js/views/applicationsView.js
@@ -10,7 +10,7 @@ window.ApplicationsView = Backbone.View.extend({
events: {
"click #checkDevel" : "toggleDevel",
"click #checkActive" : "toggleActive",
- "click #checkSystem" : "toggleSystem",
+ "click .checkSystem" : "toggleSystem",
"click #foxxToggle" : "slideToggle",
"click #importFoxxToggle" : "slideToggleImport",
"change #importFoxx" : "uploadSetup",
@@ -189,6 +189,7 @@ window.ApplicationsView = Backbone.View.extend({
},
toggleSystem: function() {
+ console.log("Toggle");
this._showSystem = !this._showSystem;
var self = this;
_.each(this._installedSubViews, function(v) {
@@ -285,7 +286,7 @@ window.ApplicationsView = Backbone.View.extend({
this.delegateEvents();
$('#checkActive').attr('checked', this._showActive);
$('#checkDevel').attr('checked', this._showDevel);
- $('#checkSystem').attr('checked', this._showSystem);
+ $('.checkSystem').attr('checked', this._showSystem);
var self = this;
_.each(this._installedSubViews, function(v) {
diff --git a/js/apps/system/aardvark/frontend/js/views/collectionsView.js b/js/apps/system/aardvark/frontend/js/views/collectionsView.js
index c5f576b87f..c9c26aac52 100644
--- a/js/apps/system/aardvark/frontend/js/views/collectionsView.js
+++ b/js/apps/system/aardvark/frontend/js/views/collectionsView.js
@@ -63,20 +63,20 @@
},
events: {
- "click #createCollection" : "createCollection",
- "keydown #searchInput" : "restrictToSearchPhraseKey",
- "change #searchInput" : "restrictToSearchPhrase",
- "click #searchSubmit" : "restrictToSearchPhrase",
- "click #checkSystem" : "checkSystem",
- "click #checkLoaded" : "checkLoaded",
- "click #checkUnloaded" : "checkUnloaded",
- "click #checkDocument" : "checkDocument",
- "click #checkEdge" : "checkEdge",
- "click #sortName" : "sortName",
- "click #sortType" : "sortType",
- "click #sortOrder" : "sortOrder",
- "click #collectionsToggle" : "toggleView",
- "click .css-label" : "checkBoxes"
+ "click #createCollection" : "createCollection",
+ "keydown #searchInput" : "restrictToSearchPhraseKey",
+ "change #searchInput" : "restrictToSearchPhrase",
+ "click #searchSubmit" : "restrictToSearchPhrase",
+ "click .checkSystemCollections" : "checkSystem",
+ "click #checkLoaded" : "checkLoaded",
+ "click #checkUnloaded" : "checkUnloaded",
+ "click #checkDocument" : "checkDocument",
+ "click #checkEdge" : "checkEdge",
+ "click #sortName" : "sortName",
+ "click #sortType" : "sortType",
+ "click #sortOrder" : "sortOrder",
+ "click #collectionsToggle" : "toggleView",
+ "click .css-label" : "checkBoxes"
},
updateCollectionsView: function() {
@@ -104,7 +104,7 @@
var searchOptions = this.collection.searchOptions;
var oldValue = searchOptions.includeSystem;
- searchOptions.includeSystem = ($('#checkSystem').is(":checked") === true);
+ searchOptions.includeSystem = ($('.checkSystemCollections').is(":checked") === true);
if (oldValue !== searchOptions.includeSystem) {
this.render();
@@ -182,7 +182,7 @@
var searchOptions = this.collection.searchOptions;
$('#checkLoaded').attr('checked', searchOptions.includeLoaded);
$('#checkUnloaded').attr('checked', searchOptions.includeUnloaded);
- $('#checkSystem').attr('checked', searchOptions.includeSystem);
+ $('.checkSystemCollections').attr('checked', searchOptions.includeSystem);
$('#checkEdge').attr('checked', searchOptions.includeEdge);
$('#checkDocument').attr('checked', searchOptions.includeDocument);
$('#sortName').attr('checked', searchOptions.sortBy !== 'type');