From 248a8d33add3da51f959f608a62c0d4d407bf83e Mon Sep 17 00:00:00 2001 From: zhujinyong Date: Tue, 26 Feb 2013 01:37:26 +0000 Subject: [PATCH] * fix for colorbox. --- module/task/js/view.js | 2 +- module/task/view/record.html.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/module/task/js/view.js b/module/task/js/view.js index dabe223fbe..af9dd81a9b 100644 --- a/module/task/js/view.js +++ b/module/task/js/view.js @@ -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;}});}) diff --git a/module/task/view/record.html.php b/module/task/view/record.html.php index 51b52c0f0d..3bb280a97f 100644 --- a/module/task/view/record.html.php +++ b/module/task/view/record.html.php @@ -10,7 +10,7 @@ * @link http://www.zentao.net */ ?> - + task->confirmFinish);?>
@@ -55,4 +55,3 @@
-