* fix for colorbox.

This commit is contained in:
zhujinyong
2013-02-26 01:37:26 +00:00
parent a0148bdc73
commit 248a8d33ad
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -4,4 +4,4 @@ function assign(taskID, assignedTo)
$('.assign').height(40);
$('.assign').load(createLink('user', 'ajaxGetUser', 'taskID=' + taskID + '&assignedTo=' + assignedTo));
}
$(function(){$('.iframe').colorbox({width:900, height:500, iframe:true, transition:'none'});})
$(function(){$('.iframe').colorbox({width:900, height:500, iframe:true, transition:'none', onCleanup:function(){parent.location.href=parent.location.href;}});})
+1 -2
View File
@@ -10,7 +10,7 @@
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/header.lite.html.php';?>
<?php include '../../common/view/datepicker.html.php';?>
<?php js::set('confirmFinish', $lang->task->confirmFinish);?>
<form method='post' target='hiddenwin'>
@@ -55,4 +55,3 @@
</tr>
</table>
</form>
<?php include '../../common/view/footer.html.php';?>