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();

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();

View file

@ -51,7 +51,7 @@ jQuery(function($){
// menu - drag and drop
jQuery(function($){
$('form.siteMap')
$('form.adminMap')
.delegate('li:not(.placeholder)', 'dropped.st', function() {
var $this = $(this), $pkey, $mkey, is_child;
@ -81,7 +81,7 @@ $('div.adminMenu')
$this = $(this);
height = $this.height();
width = $this.width();
$uls = $this.parentsUntil('.siteMap').filter('ul');
$uls = $this.parentsUntil('.adminMap').filter('ul');
$ul = $uls.eq(-1);
$ul.css('position', 'relative');