Hide labels if the related control has contents

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8826 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
taggon 2011-08-22 06:39:31 +00:00
parent 21cb40f010
commit a9d01494bc

View file

@ -17,6 +17,9 @@ jQuery(function($){
$label = $this.prev().stop().css('visibility','visible').animate({opacity:1, left:'5px'},'fast');
}
})
.filter('[value!=""]')
.prev().css('visibility','hide').end()
.end()
.end()
.parent()
.css('position', 'relative');