Fix adding new tasks to the task list.
authorJan Schneider <jan@horde.org>
Mon, 7 Dec 2009 16:26:05 +0000 (17:26 +0100)
committerJan Schneider <jan@horde.org>
Mon, 7 Dec 2009 16:26:05 +0000 (17:26 +0100)
kronolith/js/kronolith.js

index e1255ce..941ff4c 100644 (file)
@@ -2023,8 +2023,8 @@ KronolithCore = {
                       function(r) {
                           if (r.response.tasks && taskid) {
                               this._removeTask(taskid, tasklist);
-                              this._loadTasksCallback(r, this.tasktype, false);
                           }
+                          this._loadTasksCallback(r, this.tasktype, false);
                           this._closeRedBox();
                           window.history.back();
                       }.bind(this));