mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
fixed a bug that does not work tabbable
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11709 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9fd184270f
commit
79a71dbfd5
2 changed files with 61 additions and 1332 deletions
|
|
@ -34,16 +34,20 @@ jQuery(function($){
|
|||
return false;
|
||||
});
|
||||
// Tab Navigation
|
||||
$('.x .x_tabbable').each(function(){
|
||||
var $this = $(this);
|
||||
$this.find('>.x_nav-tabs>li>a').each(function(index){
|
||||
$(this).attr('data-index', index+1);
|
||||
$.fn.xeTabbable = function(){
|
||||
$(this).each(function(){
|
||||
var $this = $(this);
|
||||
$this.find('>.x_nav-tabs>li>a').each(function(index){
|
||||
$(this).attr('data-index', index+1);
|
||||
});
|
||||
$this.find('>.x_tab-content>.x_tab-pane').each(function(index){
|
||||
$(this).attr('data-index', index+1);
|
||||
});
|
||||
});
|
||||
$this.find('>.x_tab-content>.x_tab-pane').each(function(index){
|
||||
$(this).attr('data-index', index+1);
|
||||
});
|
||||
});
|
||||
$('.x .x_tab-content>.x_tab-pane:not(".x_active")').hide();
|
||||
$('.x .x_tab-content>.x_tab-pane:not(".x_active")').hide();
|
||||
}
|
||||
$('.x .x_tabbable').xeTabbable();
|
||||
|
||||
$(document.body).on('click', '.x .x_nav-tabs>li>a[href*="#"]', function(){
|
||||
var $this = $(this);
|
||||
$this.parent('li').addClass('x_active').siblings().removeClass('x_active');
|
||||
|
|
@ -1022,6 +1026,9 @@ $('.filebox')
|
|||
var $g11n_search = $g11n_get.find('#lang_search'); // search section
|
||||
var is_create_changed = false;
|
||||
|
||||
// tabbable
|
||||
$g11n_get.find('.x_tabbable').xeTabbable();
|
||||
|
||||
// check create change
|
||||
$g11n_create.find('.editMode textarea').change(function(){
|
||||
is_create_changed = true;
|
||||
|
|
|
|||
1368
modules/admin/tpl/js/admin.min.js
vendored
1368
modules/admin/tpl/js/admin.min.js
vendored
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue