Fix method name.
authorJan Schneider <jan@horde.org>
Thu, 18 Feb 2010 14:31:07 +0000 (15:31 +0100)
committerJan Schneider <jan@horde.org>
Thu, 18 Feb 2010 14:31:07 +0000 (15:31 +0100)
kronolith/js/kronolith.js

index 38625ad..92eab63 100644 (file)
@@ -1865,7 +1865,7 @@ KronolithCore = {
         this.updateTasklistDropDown();
         if (id) {
             RedBox.loading();
-            this.doAction('GetTask', { list: tasklist, id: id }, this.editTask.bind(this));
+            this.doAction('GetTask', { list: tasklist, id: id }, this.editTaskCallback.bind(this));
         } else {
             $('kronolithTaskId').clear();
             $('kronolithTaskOldList').clear();
@@ -1885,7 +1885,7 @@ KronolithCore = {
      *
      * @param object r  The ajax response object.
      */
-    editTask: function(r)
+    editTaskCallback: function(r)
     {
         if (!r.response.task) {
             RedBox.close();