Issue 2444. File upload UI bugfix.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11447 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-09-24 02:07:55 +00:00
parent 9c37dd436a
commit d1fb60cc36
6 changed files with 30 additions and 26 deletions

View file

@ -24,12 +24,11 @@ jQuery(function($){
});
*/
// Tab Navigation
var $tabbable = $('.x .x_tabbable');
$tabbable.find('.x_tab-pane:not(".x_active")').hide();
$tabbable.find('.x_nav-tabs>li>a').click(function(){
$('.x .x_tab-content>.x_tab-pane:not(".x_active")').hide();
$('.x .x_nav-tabs').find('>li>a').click(function(){
var $this = $(this);
$this.parent('li').addClass('x_active').siblings().removeClass('x_active');
$tabbable.find($this.attr('href')).addClass('x_active').show().siblings().removeClass('x_active').hide();
$this.closest('.x_nav-tabs').next('.x_tab-content').find($this.attr('href')).addClass('x_active').show().siblings().removeClass('x_active').hide();
return false;
});
// GNB Height 100%

View file

@ -24,12 +24,11 @@ jQuery(function($){
});
*/
// Tab Navigation
var $tabbable = $('.x .x_tabbable');
$tabbable.find('.x_tab-pane:not(".x_active")').hide();
$tabbable.find('.x_nav-tabs>li>a').click(function(){
$('.x .x_tab-content>.x_tab-pane:not(".x_active")').hide();
$('.x .x_nav-tabs').find('>li>a').click(function(){
var $this = $(this);
$this.parent('li').addClass('x_active').siblings().removeClass('x_active');
$tabbable.find($this.attr('href')).addClass('x_active').show().siblings().removeClass('x_active').hide();
$this.closest('.x_nav-tabs').next('.x_tab-content').find($this.attr('href')).addClass('x_active').show().siblings().removeClass('x_active').hide();
return false;
});
// GNB Height 100%