Toggle component group visibility. Closes #572

This commit is contained in:
James Brooks
2015-05-18 21:45:14 +01:00
parent 31336478fe
commit f277d8b2bc
8 changed files with 58 additions and 54 deletions

View File

@@ -203,6 +203,14 @@ $(function() {
$('input[name=remove_banner]').val('1');
});
$('.group-name').on('click', function () {
var $this = $(this);
$this.find('.group-toggle').toggleClass('ion-ios-minus-outline').toggleClass('ion-ios-plus-outline');
$this.next('.group-items').toggleClass('hide');
});
// Setup wizard
$('.wizard-next').on('click', function () {
var $form = $('#setup-form'),