issue 1602 fixed. The notify of creating table and updating module should be showed in simple view of installed module on admin page.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10408 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-03-09 10:26:47 +00:00
parent 8aa01caea2
commit 31317f0a0b
4 changed files with 20 additions and 73 deletions

View file

@ -1214,33 +1214,19 @@ jQuery(function($){
});
/* Details toggle in admin table */
jQuery(function($){
var details = $('.x .dsTg>table>tbody>tr>td.title>p:not(:first-child)');
var viewBtn = $('.x .dsTg>table>caption>span.side>button.text');
details.hide();
viewBtn.click(function(){
details.slideToggle(200);
viewBtn.toggleClass('details');
var viewBtn = $('.x .dsTg span.side>button.text');
var tdTitle = $('.x .dsTg td.title');
tdTitle.each(function(){
var $t = $(this)
if($t.find('p.update').length==0){
$t.addClass('tg').find('>p:not(:first-child)').hide();
} else {
$t.addClass('up');
}
});
var details = $('.x .dsTg td.tg>p:not(:first-child)');
viewBtn.click(function(){
viewBtn.toggleClass('details');
details.slideToggle(200);
});
var lnb = $('div.lnb');
var h = lnb.offset().top;
function fixedLnb()
{
if(lnb.css('width') != '210px')
{
lnb.css('position', 'relative');
return;
}
if($(document).scrollTop() >= h-20)
{
lnb.css({'position':'fixed', 'top':'0px'});
}
else
{
lnb.css('position', 'relative');
}
setTimeout(fixedLnb, 100);
}
fixedLnb();
});