diff --git a/module/my/js/todo.js b/module/my/js/todo.js index f3f2ffe72c..695d8315ea 100644 --- a/module/my/js/todo.js +++ b/module/my/js/todo.js @@ -19,3 +19,4 @@ function changeAction(formName, actionName, actionLink) $('#' + formName).attr('action', actionLink).submit(); } +$(".colorbox").colorbox({width:960, height:600, iframe:true, speed:350, scrolling:true}); diff --git a/module/my/view/todo.html.php b/module/my/view/todo.html.php index 6cfbc3f8ba..e353b800fd 100644 --- a/module/my/view/todo.html.php +++ b/module/my/view/todo.html.php @@ -12,6 +12,7 @@ ?> +requestType == 'GET' ? '&onlybody=yes' : '?onlybody=yes';?>
@@ -78,7 +79,7 @@ date == '2030-01-01' ? $lang->todo->dayInFuture : $todo->date;?> todo->typeList[$todo->type];?> pri;?>'>pri?> - createLink('todo', 'view', "id=$todo->id&from=my"), $todo->name);?> + createLink('todo', 'view', "id=$todo->id&from=my") . $onlybody, $todo->name, '', "class='colorbox'");?> begin;?> end;?> todo->statusList[$todo->status];?>