admin, member, addons UI cleaning.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11838 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-10-23 06:45:55 +00:00
parent a9604aa340
commit c22d5157cd
9 changed files with 89 additions and 17 deletions

View file

@ -346,6 +346,7 @@ $.fn.xeModalWindow = function(){
.fadeIn(duration, after)
.find('button.x_close:first').focus().end()
.prev('.x_modal-backdrop').show();
$('body').css('overflow','hidden');
})
.bind('close.mw', function(){
var $this = $(this), before_event, $modal, duration;
@ -371,6 +372,7 @@ $.fn.xeModalWindow = function(){
$modal.fadeOut(duration, after)
.prev('.x_modal-backdrop').hide();
$('body').css('overflow','auto');
$this.focus();
});
$('div.x_modal').addClass('x').hide();