From c41f314302012c023fb3410e6d878eff8bd5b539 Mon Sep 17 00:00:00 2001 From: marijus Date: Mon, 13 Oct 2014 12:52:21 +0200 Subject: really fix connedit > collection > checkbox --- view/css/widgets.css | 7 +------ view/js/main.js | 1 + view/tpl/group_side.tpl | 10 +++------- 3 files changed, 5 insertions(+), 13 deletions(-) (limited to 'view') diff --git a/view/css/widgets.css b/view/css/widgets.css index 1992aa0fd..593e051da 100644 --- a/view/css/widgets.css +++ b/view/css/widgets.css @@ -81,13 +81,8 @@ /* group */ -input.group-edit-checkbox { - margin: unset; - height: 1em; - width: 1em; -} -a.group-edit-link { +a.group-edit-tool { z-index: 1; } diff --git a/view/js/main.js b/view/js/main.js index f58d3756b..32db7ccb7 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -986,6 +986,7 @@ function updateConvItems(mode,data) { $('body').css('cursor', 'wait'); $.get('contactgroup/' + gid + '/' + cid, function(data) { $('body').css('cursor', 'auto'); + $('#group-' + gid).toggleClass('icon-check icon-check-empty'); }); } diff --git a/view/tpl/group_side.tpl b/view/tpl/group_side.tpl index 6c5edba27..4afe1286f 100755 --- a/view/tpl/group_side.tpl +++ b/view/tpl/group_side.tpl @@ -5,16 +5,12 @@ {{foreach $groups as $group}}
  • {{if $group.cid}} - - + + {{/if}} {{if $group.edit}} - + {{/if}} {{$group.text}}
  • -- cgit v1.2.3