Files
EasySoft-ZenTaoPMS/module/project/js/bug.js
chencongzhi520@gmail.com bcf35c4b7b * adjust the code.
2013-07-06 03:00:01 +00:00

27 lines
672 B
JavaScript

function setModal4List(colorboxClass, replaceID)
{
replaceID = 'bugList';
$('.' + colorboxClass).colorbox(
{
width:900,
height:500,
iframe:true,
transition:'none',
onCleanup:function()
{
saveWindowSize();
var link = self.location.href;
$.get(link, {onlybody: "yes"}, function(data)
{
$('#' + replaceID).replaceWith(data)
setModal4List(colorboxClass, replaceID)
$('.colored').colorize();
$('tfoot td').css('background', 'white').unbind('click').unbind('hover');
});
}
});
}