issue 1312 fix. Adding the toggle button to hide and show details of 'installed program(e.g. modules, layouts, widgets...)' list.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10166 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-02-21 10:07:11 +00:00
parent 0a408c8e76
commit af5d1da6cb
9 changed files with 39 additions and 10 deletions

View file

@ -1190,3 +1190,13 @@ jQuery(function($){
$('.x>.body>.content').addClass('single'); // Add class single
}
});
/* Details toggle in admin table */
jQuery(function($){
var details = $('.x .dsTg>table>tbody>tr>td.title>p:not(:first-child)');
var viewBtn = $('.x .dsTg>table>caption>span.side>button.text');
details.hide();
viewBtn.click(function(){
details.slideToggle(200);
viewBtn.toggleClass('details');
});
});