From a7104d6437bd6cb0382f038e65c23bdede402e77 Mon Sep 17 00:00:00 2001 From: charithag Date: Thu, 6 Aug 2015 12:35:21 +0530 Subject: [PATCH] Set grid view option to be selected --- .../units/group-listing/public/js/group-listing.js | 2 +- .../public/templates/group-listing.hbs | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/units/group-listing/public/js/group-listing.js b/modules/distribution/src/repository/jaggeryapps/iotserver/units/group-listing/public/js/group-listing.js index 2eef24d0..cdfbd19d 100644 --- a/modules/distribution/src/repository/jaggeryapps/iotserver/units/group-listing/public/js/group-listing.js +++ b/modules/distribution/src/repository/jaggeryapps/iotserver/units/group-listing/public/js/group-listing.js @@ -64,7 +64,7 @@ $(document).ready(function () { return $("#content-filter-types").html(); } }); - changeGroupView('grid', this); + changeGroupView('grid', $('a.ctrl-filter-grid')); }); /* diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/units/group-listing/public/templates/group-listing.hbs b/modules/distribution/src/repository/jaggeryapps/iotserver/units/group-listing/public/templates/group-listing.hbs index 1b960976..48cc3556 100644 --- a/modules/distribution/src/repository/jaggeryapps/iotserver/units/group-listing/public/templates/group-listing.hbs +++ b/modules/distribution/src/repository/jaggeryapps/iotserver/units/group-listing/public/templates/group-listing.hbs @@ -1,6 +1,6 @@ {{#each groups}} {{groupMap this}} -
+ @@ -9,7 +9,7 @@
-