')
+ .addClass('more')
+ .append(description)
+ .appendTo(task_container);
return task_container;
},
filter:function(tag, find_filter) {
@@ -148,6 +156,11 @@ OC.Tasks = {
input.focus();
return false;
},
+ moreClickHandler:function(event){
+ var $task = $(this).closest('.task'),
+ task = $task.data('task');
+ $task.find('.more').show();
+ },
complete_task:function() {
var $task = $(this).closest('.task'),
task = $task.data('task'),
diff --git a/apps/tasks/templates/tasks.php b/apps/tasks/templates/tasks.php
index 63e0629e6a..1371d5947a 100644
--- a/apps/tasks/templates/tasks.php
+++ b/apps/tasks/templates/tasks.php
@@ -19,11 +19,11 @@
-
-
-
-
-
+
+
+ t('More') ?>