Issue 2390. [Admin UI Refactoring] Content > Data Migration. Fixed.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11746 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-10-17 02:42:38 +00:00
parent 13fb6ee7ad
commit 31d0a99a39
6 changed files with 46 additions and 46 deletions

View file

@ -118,8 +118,9 @@ jQuery(function($){
return false;
});
// Section Toggle
$('.x .section>h1').append('<button type="button" class="snToggle x_icon-chevron-up">Toggle this section</button>');
$('.x .section>h1>.snToggle').click(function(){
var $section_heading = $('.x .section').find('>h1:first');
$section_heading.append('<button type="button" class="snToggle x_icon-chevron-up">Toggle this section</button>');
$section_heading.find('>.snToggle').click(function(){
var $this = $(this);
var $section = $this.closest('.section');
if(!$section.hasClass('collapse')){

View file

@ -118,8 +118,9 @@ jQuery(function($){
return false;
});
// Section Toggle
$('.x .section>h1').append('<button type="button" class="snToggle x_icon-chevron-up">Toggle this section</button>');
$('.x .section>h1>.snToggle').click(function(){
var $section_heading = $('.x .section').find('>h1:first');
$section_heading.append('<button type="button" class="snToggle x_icon-chevron-up">Toggle this section</button>');
$section_heading.find('>.snToggle').click(function(){
var $this = $(this);
var $section = $this.closest('.section');
if(!$section.hasClass('collapse')){