Skip to content

Commit

Permalink
Added: article select via article list highlights resp. tree node
Browse files Browse the repository at this point in the history
  • Loading branch information
kstenschke committed Aug 25, 2015
1 parent bbc8d91 commit 1da79f8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions themes/admin/views/articles/list.php
Expand Up @@ -133,6 +133,12 @@
item.addEvent('click', function(e)
{
e.stop();
$$('#structurePanel .tree a.selected').removeClass('selected');
var el = $$('[data-id=' + id_page + '.' + id_article +']');
if(el) {
el.addClass('selected');
}

ION.splitPanel({
'urlMain': ION.adminUrl + 'article/edit/' + id_page + '.' + id_article,
'urlOptions': ION.adminUrl + 'article/get_options/' + id_page + '.' + id_article,
Expand Down

0 comments on commit 1da79f8

Please sign in to comment.