Issue 2045 fixed. Required enable conditions should not to be displayed.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11627 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-10-08 09:28:11 +00:00
parent b1fb2d7fdb
commit fd84b2ae5a
19 changed files with 135 additions and 135 deletions

View file

@ -1,4 +1,19 @@
jQuery(function($){
// TARGET toggle
$(document.body).on('click', '.x [data-toggle]', function(){
var $this = $(this);
var $target = $($this.attr('data-toggle'));
$target.toggle();
if($target.is(':visible') && !$target.find('a,input,button,textarea,select').length){
$target.attr('tabindex','0').focus();
} else if($target.is(':visible') && $target.find('a,input,button,textarea,select').length) {
$target.find('a,input,button,textarea,select').eq(0).focus();
} else {
$this.focus();
}
return false;
});
// Input Clear
var iText = $('.item>.iLabel').next('.iText');
$('.item>.iLabel').css('position','absolute');