Skip to content

Commit

Permalink
added highlight and clickable labels on left menu
Browse files Browse the repository at this point in the history
  • Loading branch information
maximstrukov committed Feb 16, 2019
1 parent 7298cf3 commit 499610a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bundle/Resources/public/admin/css/ezmailing.scss
Expand Up @@ -191,3 +191,7 @@ $eZLightBackground: #F5F5F5;
margin: 20px 10px 10px 10px;
}
}

.campaigns > ul > li > label:hover {
font-weight: bold;
}
5 changes: 5 additions & 0 deletions bundle/Resources/public/admin/js/ezmailing.js
Expand Up @@ -10,4 +10,9 @@ jQuery(function () {
eZMailingSubItemsModule.init(jQuery, $app);
eZMailingEditFormModule.init(jQuery, $app);
eZMailingContentSelectionModule.init(jQuery, $app);

$('.campaigns > ul > li > label').click(function () {
window.location = $(this).parent().find('ul > li.subscriptions > a').attr('href');
return false;
});
});

0 comments on commit 499610a

Please sign in to comment.