projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4720da3
)
This task list cache might not exist yet.
author
Jan Schneider
<jan@horde.org>
Mon, 21 Jun 2010 21:09:23 +0000
(23:09 +0200)
committer
Jan Schneider
<jan@horde.org>
Mon, 21 Jun 2010 21:36:57 +0000
(23:36 +0200)
kronolith/js/kronolith.js
patch
|
blob
|
history
diff --git
a/kronolith/js/kronolith.js
b/kronolith/js/kronolith.js
index
0b0bbdd
..
a1c5832
100644
(file)
--- a/
kronolith/js/kronolith.js
+++ b/
kronolith/js/kronolith.js
@@
-2407,7
+2407,9
@@
KronolithCore = {
}
task.cp = !task.cp;
- this.tcache.get(task.cp ? 'complete' : 'incomplete').get(tasklist).set(taskid, task);
+ if (this.tcache.get(task.cp ? 'complete' : 'incomplete')) {
+ this.tcache.get(task.cp ? 'complete' : 'incomplete').get(tasklist).set(taskid, task);
+ }
this.tcache.get(task.cp ? 'incomplete' : 'complete').get(tasklist).unset(taskid);
// Remove row if necessary.