VCL-1150 - save user group filters in cookie so they persist across page loads
groups.js: modified setFiltersFromCookie: added check for GROUPFILTER cookie being null, and return if it is
diff --git a/web/js/groups.js b/web/js/groups.js
index 4543a39..337f085 100644
--- a/web/js/groups.js
+++ b/web/js/groups.js
@@ -282,6 +282,9 @@
function setFiltersFromCookie() {
var tmp = dojo.cookie('GROUPFILTER');
+ if(typeof tmp == 'undefined') {
+ return;
+ }
var data = tmp.split('|');
dijit.byId('shownormal').set('value', 0);
dijit.byId('showfederated').set('value', 0);