diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-05-05 18:16:14 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-05-05 18:16:14 +0200 |
commit | 2092caf6d3be26dbb009c2f6585212841f5c823a (patch) | |
tree | b2e9d3f47d0eed6da3c384288db6b8a7e2eb9139 /apps/tasks/js | |
parent | d0b7b01737a35a7d8e23e5a47e432a869fbde648 (diff) | |
download | nextcloud-server-2092caf6d3be26dbb009c2f6585212841f5c823a.tar.gz nextcloud-server-2092caf6d3be26dbb009c2f6585212841f5c823a.zip |
Tasks: Fix add task action
Diffstat (limited to 'apps/tasks/js')
-rw-r--r-- | apps/tasks/js/tasks.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tasks/js/tasks.js b/apps/tasks/js/tasks.js index 1db3f87e37e..60d2a523be1 100644 --- a/apps/tasks/js/tasks.js +++ b/apps/tasks/js/tasks.js @@ -455,7 +455,7 @@ $(document).ready(function(){ $('#tasks_addtask').click(function(){ var input = $('#tasks_newtask').val(); - $.getJSON('ajax/addtask.php',{text:input},function(jsondata){ + $.getJSON(OC.filePath('tasks', 'ajax', 'addtask.php'),{text:input},function(jsondata){ if(jsondata.status == 'success'){ $('#tasks_list').append(OC.Tasks.create_task_div(jsondata.task)); } |