Issue 2443. Alert UI created.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11528 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-09-26 06:47:02 +00:00
parent 850338133a
commit bcd2fb3a88
2 changed files with 9 additions and 3 deletions

View file

@ -156,6 +156,12 @@ jQuery(function($){
$this.removeClass('x_icon-chevron-down').addClass('x_icon-chevron-up');
}
});
// Alert Closer
var $xAlert = $('.x .x_alert');
$xAlert.prepend('<button type="button" class="x_close">&times;</button>');
$xAlert.children('.x_close').click(function(){
$(this).parent('.x_alert').hide();
});
});
// Modal Window