* fix the error of location.

This commit is contained in:
wangchunsheng
2010-12-02 08:35:37 +00:00
parent cd1326ab9a
commit df8351fbd0
2 changed files with 5 additions and 3 deletions
+3
View File
@@ -16,9 +16,12 @@
<body style='background:white'>
<script language='Javascript'>
var tips = <?php echo json_encode($tips);?>;
var projectID = <?php echo $projectID;?>;
defaultURL = createLink('project', 'task', 'projectID=' + projectID);
$(document).ready(function()
{
$.fn.colorbox({html:tips, open:true, width:480, height:280});
setTimeout( function() {location.href=defaultURL}, 5000);
});
</script>
</body>